mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(components): improve tsdoc
This commit is contained in:
@@ -22,9 +22,19 @@ export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open'
|
||||
as?: any
|
||||
title?: StringOrVNode
|
||||
description?: StringOrVNode
|
||||
/**
|
||||
* @IconifyIcon
|
||||
*/
|
||||
icon?: string
|
||||
avatar?: AvatarProps
|
||||
/**
|
||||
* @defaultValue 'primary'
|
||||
*/
|
||||
color?: ToastVariants['color']
|
||||
/**
|
||||
* The orientation between the content and the actions.
|
||||
* @defaultValue 'vertical'
|
||||
*/
|
||||
orientation?: ToastVariants['orientation']
|
||||
/**
|
||||
* Display a list of actions:
|
||||
|
||||
Reference in New Issue
Block a user