import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
import BreakpointMonitor from '../index';

storiesOf('BreakpointMonitor', module)
  .add('default view', () => (
    <BreakpointMonitor />
  ));

import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
import BreakpointMonitor from '../index';

storiesOf('BreakpointMonitor', module)
  .add('default view', () => (
    <div>
      <p>Resize the screen to see it in action</p>
      <BreakpointMonitor />
    </div>
  ));

add note to resize the screen