Skip to content

Commit

Permalink
feat: styles button disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Apr 12, 2022
1 parent 74c5c79 commit ff4a9c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ 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} disabled={props.disabled}>
<button
type={props.type}
className={styles.button}
onClick={props.onClick}
disabled={props.disabled}
style={props.style}
>
{props.children}
</button>
);
Expand Down

0 comments on commit ff4a9c8

Please sign in to comment.