Skip to content

Commit

Permalink
fix: add all className variants to type ButtonProps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsapro committed Dec 23, 2023
1 parent de8d3e1 commit c623293
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ import styles from './button.module.scss';

export type ButtonProps = {
buttonText: string;
buttonStyle: string;
classNameActive?: string;
buttonStyle:
| 'green-border-button'
| 'green-border-button__active'
| 'greenish-button'
| 'green-button';
classNameActive?: 'greenish-button__active' | '';
onClick?: () => void;
disabled?: boolean;
classNames?: string;
Expand Down

0 comments on commit c623293

Please sign in to comment.