From 4f40d70eadbaa4da5c050dd3da80cf5070c742e5 Mon Sep 17 00:00:00 2001 From: "lucas.reis" Date: Wed, 12 Dec 2018 21:03:43 -0200 Subject: [PATCH] docs(storybook): Insertng lists on storybook Inserting all configuration of lists in storybook #179 --- docs/lists.stories.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/lists.stories.js diff --git a/docs/lists.stories.js b/docs/lists.stories.js new file mode 100644 index 0000000..a6c43d2 --- /dev/null +++ b/docs/lists.stories.js @@ -0,0 +1,16 @@ +import { storiesOf } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies +import { // eslint-disable-line import/no-extraneous-dependencies + withKnobs, radios, +} from '@storybook/addon-knobs'; + +const stories = storiesOf('Lists', module); +stories.addDecorator(withKnobs); + +stories.add('list', () => { + const selectedClass = radios('type', { + default: 'is-circle', + 'is-arrow': 'is-arrow', + 'is-pointer': 'is-pointer', + }, 'is-circle'); + return ``; +});