mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
chore(components): improve props jsdoc
This commit is contained in:
@@ -31,7 +31,8 @@ export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open'
|
||||
actions?: ButtonProps[]
|
||||
/**
|
||||
* Display a close button to dismiss the toast.
|
||||
* @defaultValue true ({ size: 'md', color: 'gray', variant: 'link' })
|
||||
* Will render with `{ size: 'md', color: 'gray', variant: 'link' }`.
|
||||
* @defaultValue true
|
||||
*/
|
||||
close?: ButtonProps | boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user