chore(components): add @IconifyIcon tag on icon properties (#3445)

This commit is contained in:
Romain Hamel
2025-03-04 10:40:13 +01:00
committed by GitHub
parent ccbd89c908
commit fb4e05c65f
24 changed files with 106 additions and 6 deletions

View File

@@ -20,21 +20,25 @@ export interface PaginationProps extends Partial<Pick<PaginationRootProps, 'defa
/**
* The icon to use for the first page control.
* @defaultValue appConfig.ui.icons.chevronDoubleLeft
* @IconifyIcon
*/
firstIcon?: string
/**
* The icon to use for the previous page control.
* @defaultValue appConfig.ui.icons.chevronLeft
* @IconifyIcon
*/
prevIcon?: string
/**
* The icon to use for the next page control.
* @defaultValue appConfig.ui.icons.chevronRight
* @IconifyIcon
*/
nextIcon?: string
/**
* The icon to use for the last page control.
* @defaultValue appConfig.ui.icons.chevronDoubleRight
* @IconifyIcon
*/
lastIcon?: string
/**
@@ -45,6 +49,7 @@ export interface PaginationProps extends Partial<Pick<PaginationRootProps, 'defa
/**
* The color of the pagination controls.
* @defaultValue 'neutral'
* @IconifyIcon
*/
color?: ButtonProps['color']
/**