Skip to content

Commit

Permalink
feat: add disabled button
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Apr 4, 2022
1 parent 699f9e1 commit 36e71ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ButtonProps } from 'types/IComponents';
import styles from './Button.module.scss';
export function Button(props: ButtonProps) {
return (
<button type={props.type} className={styles.button} onClick={props.onClick}>
<button type={props.type} className={styles.button} onClick={props.onClick} disabled={props.disabled}>
{props.children}
</button>
);
Expand Down

0 comments on commit 36e71ff

Please sign in to comment.