import { storiesOf } from '@storybook/react'; import { text, select } from '@storybook/addon-knobs'; import Heading from './index'; storiesOf('Components/Heading', module).add('Default', () => ( {text('text', 'This is a Heading')} ));