Skip to content

Commit

Permalink
fix(button): update children component type
Browse files Browse the repository at this point in the history
  • Loading branch information
bramvanhoutte committed May 5, 2020
1 parent c8272e4 commit dc83cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Spinner from '../utils/Spinner/Spinner';
import styles from './Button.module.css';

export interface Props {
children: string;
children: React.ReactNode;
type?: 'primary' | 'secondary';
onClick?: MouseEventHandler<HTMLButtonElement>;
className?: string;
Expand Down

0 comments on commit dc83cd1

Please sign in to comment.