mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
chore(components): improve props jsdoc
This commit is contained in:
@@ -31,8 +31,9 @@ export interface AlertProps {
|
||||
actions?: ButtonProps[]
|
||||
/**
|
||||
* Display a close button to dismiss the alert.
|
||||
* Will render with `{ size: 'md', color: 'gray', variant: 'link' }`.
|
||||
* @emits `close`
|
||||
* @defaultValue false ({ size: 'md', color: 'gray', variant: 'link' })
|
||||
* @defaultValue false
|
||||
*/
|
||||
close?: ButtonProps | boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user