import React from 'react'; import { storiesOf } from '@storybook/react'; import IndexPage from '../../src/pages/index'; storiesOf('Pages|Home', module).add('default', () => <IndexPage />);