Usage

import {Toast} from '@loomhq/lens'
<Toast>Content</Toast>

Examples

Simple toast

Toast with custom content

Toast with longer timeout

Props

name
type
default
zIndex
number
1100
duration
'short' | 'long'
'short'
children
React.ReactNode
isOpen
boolean
onCloseClick
() => void