Button type definition updates

pull/7366/head
tugcekucukoglu 2025-03-04 10:04:33 +03:00
parent 11681f14cf
commit c0441ef4ea
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
* Position of the icon. * Position of the icon.
* @defaultValue left * @defaultValue left
*/ */
iconPos?: 'left' | 'right' | 'top' | 'bottom' | undefined; iconPos?: HintedString<'left' | 'right' | 'top' | 'bottom'> | undefined;
/** /**
* Style class of the icon. * Style class of the icon.
*/ */
@ -171,12 +171,12 @@ export interface ButtonProps extends ButtonHTMLAttributes {
/** /**
* Defines the size of the button. * Defines the size of the button.
*/ */
size?: 'small' | 'large' | undefined; size?: HintedString<'small' | 'large'> | undefined;
/** /**
* Specifies the variant of the component. * Specifies the variant of the component.
* @defaultValue undefined * @defaultValue undefined
*/ */
variant?: 'outlined' | 'text' | 'link' | undefined; variant?: HintedString<'outlined' | 'text' | 'link'> | undefined;
/** /**
* Add a plain textual class to the button without a background initially. * Add a plain textual class to the button without a background initially.
* @defaultValue false * @defaultValue false