From c7a469f3f8977b5b9f02c6f6105c1e1fd40e5c33 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Tue, 15 Jan 2019 15:28:09 +0100 Subject: Add href and type to button component --- uidev/src/stories/button.stories.tsx | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'uidev/src/stories') diff --git a/uidev/src/stories/button.stories.tsx b/uidev/src/stories/button.stories.tsx index b5906211a..d81808530 100644 --- a/uidev/src/stories/button.stories.tsx +++ b/uidev/src/stories/button.stories.tsx @@ -10,7 +10,6 @@ const defaultProps = { id: 'test1', name: 'test1', type: 'button', - onClick: (e: React.MouseEvent) => console.log('click event', e), disabled: false, }; @@ -22,13 +21,13 @@ const WithStoreButton = observer(({ store }: { store: any }) => ( <>