From 4eeb7947bd9209ec137a032cf66c47041c27c07e Mon Sep 17 00:00:00 2001
From: Kai Schaper <303@posteo.de>
Date: Tue, 11 Oct 2016 04:07:32 +0200
Subject: add stylesheet; add story for Button component

---
 storybook/stories/button.story.jsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 storybook/stories/button.story.jsx

(limited to 'storybook/stories/button.story.jsx')

diff --git a/storybook/stories/button.story.jsx b/storybook/stories/button.story.jsx
new file mode 100644
index 000000000..fe6d57ad0
--- /dev/null
+++ b/storybook/stories/button.story.jsx
@@ -0,0 +1,15 @@
+import Button from '../../app/assets/javascripts/components/components/button.jsx'
+
+storiesOf('Button', module)
+  .add('default state', () => (
+    <Button text="submit" onClick={action('clicked')} />
+  ))
+  .add('secondary', () => (
+    <Button secondary text="submit" onClick={action('clicked')} />
+  ))
+  .add('disabled', () => (
+    <Button disabled text="submit" onClick={action('clicked')} />
+  ))
+  .add('block', () => (
+    <Button block text="submit" onClick={action('clicked')} />
+  ));
-- 
cgit 

