feat: support new feature in button component

This commit is contained in:
QiShaoXuan
2023-01-30 18:29:00 +08:00
parent bf6545af7a
commit 0636622158
3 changed files with 19 additions and 7 deletions

View File

@@ -17,8 +17,10 @@ export type ButtonProps = PropsWithChildren &
hoverColor?: CSSProperties['color'];
hoverStyle?: CSSProperties;
icon?: ReactElement;
iconPosition?: 'start' | 'end';
shape?: 'default' | 'round' | 'circle';
type?: 'primary' | 'warning' | 'danger' | 'default';
bold?: boolean;
loading?: boolean;
noBorder?: boolean;
};