diff --git a/src/Button/Button.tsx b/src/Button/Button.tsx index 8df9675c..41a12343 100644 --- a/src/Button/Button.tsx +++ b/src/Button/Button.tsx @@ -7,11 +7,13 @@ import Link from '../../assets/link.svg' interface Props { type: string + click: () => void } class Button extends React.Component { static defaultProps: Props = { - type: null + type: null, + click: () => {} } render() { @@ -24,7 +26,7 @@ class Button extends React.Component { icon = } - return