UNPKG

xchain-components

Version:
37 lines (33 loc) 753 B
/* @flow */ /* eslint react/jsx-filename-extension: 0 */ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withInfo } from '@storybook/addon-info'; import XIcon from 'components/XIcon'; export default storiesOf('XIcon', module) .addDecorator(withInfo) .add('Notification Bell Icon', () => ( <XIcon name="bell outline" notification /> )) .add('Notification Mail Icon', () => ( <XIcon name="envelope outline" notification width="35px" height="19px" /> )) .add('Setting Icon', () => ( <XIcon name="setting" /> )) .add('User Icon', () => ( <XIcon name="user circle" /> ));