xchain-components
Version:
Xchain Components
19 lines (16 loc) • 514 B
JavaScript
/* @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 XBreadcrumb from 'components/XBreadcrumb';
export default storiesOf('XBreadcrumb', module)
.addDecorator(withInfo)
.add('category breadcrumb', () => (
<XBreadcrumb
size="small"
breadCrumbs={['Garments', 'Men', 'Shirts']}
goBackAllowed
/>
));