@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
17 lines • 658 B
JavaScript
// REACT
import * as React from 'react';
// STORYBOOK
import { storiesOf } from '@storybook/react';
// VENDOR
import styled, { ThemeProvider } from '@xstyled/styled-components';
// COMPONENTS
import { Item } from './Item.component';
import { RootTheme } from '../../theme';
const StyledStory = styled('div') `
padding: 2rem 5rem;
`;
storiesOf('Components/Menu/Item', module).add('Primary', () => (React.createElement(ThemeProvider, { theme: RootTheme },
React.createElement(StyledStory, null,
React.createElement("p", null, "Item"),
React.createElement(Item, { label: "Link", path: "/" })))));
//# sourceMappingURL=Item.stories.js.map