Name and description | Type | Value |
---|---|---|
[appearance] Appearance of a toast | string | |
[autoClose] Automatic close timeout, 0 for a permanent toast | number | 5000 |
[closable] Show close button on desktop and close on swipe on mobile | boolean | |
[data] Arbitrary data passed to the toast, used as icon for string content passed to TuiToastService | I |