UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

25 lines 808 B
// REACT import * as React from 'react'; // STORYBOOK import { storiesOf } from '@storybook/react'; // VENDOR import styled, { ThemeProvider } from '@xstyled/styled-components'; // COMPONENTS import { CardAction } from './CardAction.component'; // README import * as README from './README.md'; import { RootTheme } from '../../theme'; const StyledStory = styled('div') ` padding: 2rem 5rem; `; storiesOf('Components/Card/CardAction', module) .addParameters({ readme: { sidebar: README, }, }) .add('Default', () => (React.createElement(ThemeProvider, { theme: RootTheme }, React.createElement(StyledStory, null, React.createElement("p", null, "CardAction 1"), React.createElement(CardAction, null, "Children"))))); //# sourceMappingURL=CardAction.stories.js.map