Info
Displays a callout for user attention.
Features
- Completely controllable to display and turn off.
Install
Import
API
Root
Props | Type | Default |
---|---|---|
as | AsTag | Component | div |
asChild | boolean | false |
defaultOpen | boolean | true |
open | boolean | undefined |
Event | Type |
---|---|
update:open | [_value: boolean] |
Close
Props | Type | Default |
---|---|---|
as | AsTag | Component | button |
asChild | boolean | false |