Last active
June 21, 2021 19:45
-
-
Save hboylan/03e8e5ec285fb5835ba4927d7b1b2116 to your computer and use it in GitHub Desktop.
Revisions
-
hboylan revised this gist
Jun 21, 2021 . 1 changed file with 1 addition and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,12 +5,6 @@ export interface ButtonProps * @default "primary" */ color?: ButtonColor; /** * Renders full width * @default false @@ -19,11 +13,7 @@ export interface ButtonProps /** * Renders icon left of text */ icon?: React.ReactElement<IconProps>; /** * Button size (small|medium|large) * @default "medium" -
hboylan created this gist
Jun 21, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { /** * Button color (primary|secondary|transparent|link) * @default "primary" */ color?: ButtonColor; /** * Renders in compact mode * @default false * @deprecated */ compact?: boolean; /** * Renders full width * @default false */ fullWidth?: boolean; /** * Renders icon left of text */ iconLeft?: React.ReactElement<IconProps>; /** * Renders icon left of text */ iconRight?: React.ReactElement<IconProps>; /** * Button size (small|medium|large) * @default "medium" */ size?: ButtonSize; }