Skip to content

Commit

Permalink
feat: can directly input string to variant prop
Browse files Browse the repository at this point in the history
  • Loading branch information
physicsSorcererKing authored May 28, 2024
1 parent 831ed2c commit 113ca5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/shared/Button/v2/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const buttonSizeClasses: Record<ButtonSize, string> = {
};

interface BaseButtonProps {
variant?: ButtonVariant;
variant?: ButtonVariant | `${ButtonVariant}`;
size?: ButtonSize;
icon?: ReactNode;
iconName?: IconName;
Expand Down

0 comments on commit 113ca5a

Please sign in to comment.