From 98e570087e25e2c397da41718fe3526ab3f33d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=81n=20Mikla=CC=81s=CC=8C?= Date: Mon, 4 May 2020 13:13:06 +0200 Subject: [PATCH] Add story for buttons without icons [MAILPOET-2771] --- .../js/src/common/button/_stories/button.tsx | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 assets/js/src/common/button/_stories/button.tsx diff --git a/assets/js/src/common/button/_stories/button.tsx b/assets/js/src/common/button/_stories/button.tsx new file mode 100644 index 0000000000..f0314345e0 --- /dev/null +++ b/assets/js/src/common/button/_stories/button.tsx @@ -0,0 +1,203 @@ +import React from 'react'; +import { action } from '@storybook/addon-actions'; +import Button from '../button'; +import Heading from '../../typography/heading/heading'; + +export default { + title: 'Buttons', + component: Button, +}; + +export const WithoutIcons = () => ( + <> + Small buttons +

+ + + + + +

+
+ + Regular buttons +

+ + + + + +

+
+ + Large buttons +

+ + + + + +

+
+ + Loading buttons +

+ + + + + +

+
+ + Full width buttons +

+ + + + + +

+
+ +);