From a6688fdd3d981fbddf9528e29eda7ce0b4c28f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=ABck=20V=C3=A9zien?= Date: Wed, 31 Jan 2018 18:08:33 +0100 Subject: [PATCH] Add @flow on all stories --- src/components/base/Box/stories.js | 2 ++ src/components/base/Button/stories.js | 2 ++ src/components/base/Checkbox/stories.js | 2 ++ src/components/base/GrowScroll/stories.js | 2 ++ src/components/base/Input/stories.js | 2 ++ src/components/base/Modal/stories.js | 2 ++ src/components/base/Radio/stories.js | 2 ++ src/components/base/Search/stories.js | 2 ++ src/components/base/Tabs/stories.js | 2 ++ 9 files changed, 18 insertions(+) diff --git a/src/components/base/Box/stories.js b/src/components/base/Box/stories.js index 861283d7..3c6610bf 100644 --- a/src/components/base/Box/stories.js +++ b/src/components/base/Box/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { select, boolean, number } from '@storybook/addon-knobs' diff --git a/src/components/base/Button/stories.js b/src/components/base/Button/stories.js index afad1735..926c753d 100644 --- a/src/components/base/Button/stories.js +++ b/src/components/base/Button/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { storiesOf } from '@storybook/react' diff --git a/src/components/base/Checkbox/stories.js b/src/components/base/Checkbox/stories.js index 34222a4b..0841d3e9 100644 --- a/src/components/base/Checkbox/stories.js +++ b/src/components/base/Checkbox/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { storiesOf } from '@storybook/react' import { boolean } from '@storybook/addon-knobs' diff --git a/src/components/base/GrowScroll/stories.js b/src/components/base/GrowScroll/stories.js index e8e9c9aa..ba442cf0 100644 --- a/src/components/base/GrowScroll/stories.js +++ b/src/components/base/GrowScroll/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { storiesOf } from '@storybook/react' import { boolean } from '@storybook/addon-knobs' diff --git a/src/components/base/Input/stories.js b/src/components/base/Input/stories.js index 091ffa7f..2fd65956 100644 --- a/src/components/base/Input/stories.js +++ b/src/components/base/Input/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { storiesOf } from '@storybook/react' diff --git a/src/components/base/Modal/stories.js b/src/components/base/Modal/stories.js index 6abd2d47..4529c878 100644 --- a/src/components/base/Modal/stories.js +++ b/src/components/base/Modal/stories.js @@ -1,3 +1,5 @@ +// @flow + import React, { Fragment } from 'react' import { storiesOf } from '@storybook/react' import { boolean } from '@storybook/addon-knobs' diff --git a/src/components/base/Radio/stories.js b/src/components/base/Radio/stories.js index 978a6e18..e21dff6e 100644 --- a/src/components/base/Radio/stories.js +++ b/src/components/base/Radio/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { storiesOf } from '@storybook/react' import { boolean } from '@storybook/addon-knobs' diff --git a/src/components/base/Search/stories.js b/src/components/base/Search/stories.js index 8c3bf388..c5165058 100644 --- a/src/components/base/Search/stories.js +++ b/src/components/base/Search/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import PropTypes from 'prop-types' import { storiesOf } from '@storybook/react' diff --git a/src/components/base/Tabs/stories.js b/src/components/base/Tabs/stories.js index 5cbb22b7..9479da94 100644 --- a/src/components/base/Tabs/stories.js +++ b/src/components/base/Tabs/stories.js @@ -1,3 +1,5 @@ +// @flow + import React from 'react' import { number } from '@storybook/addon-knobs'