@dxos/react-ui
Preparing search index...
components/Toast/Toast
RootProps
Type Alias RootProps
RootProps
:
ThemedClassName
<
ComponentPropsWithRef
<
"div"
>
>
&
{
defaultOpen
?:
boolean
;
duration
?:
number
;
onOpenChange
?:
(
open
:
boolean
)
=>
void
;
open
?:
boolean
;
}
Type declaration
Optional
defaultOpen
?:
boolean
Optional
duration
?:
number
Milliseconds before the toast closes itself;
Infinity
for one that stays.
Optional
onOpenChange
?:
(
open
:
boolean
)
=>
void
Optional
open
?:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dxos/react-ui
Loading...
Milliseconds before the toast closes itself;
Infinityfor one that stays.