UNPKG

@appearhere/bloom

Version:

Appear Here's pattern library and styleguide

17 lines (15 loc) 507 B
import React from 'react'; import { storiesOf, action } from '@storybook/react'; import ControlIcon from '../Control/ControlIcon'; import Control from '../Control/Control'; import ControlGroup from './ControlGroup'; storiesOf('Map Control', module).add('ControlGroup', () => ( <ControlGroup> <Control onClick={action('click plus')}> <ControlIcon name="plus" /> </Control> <Control onClick={action('click minus')}> <ControlIcon name="minus" /> </Control> </ControlGroup> ));