UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

29 lines 985 B
// REACT import * as React from 'react'; // STORYBOOK import { storiesOf } from '@storybook/react'; // VENDOR import styled, { ThemeProvider } from '@xstyled/styled-components'; // COMPONENTS import { CardContent } from './CardContent.component'; // README import * as README from './README.md'; import { RootTheme } from '../../theme'; // THEME const StyledStory = styled('div') ` padding: 2rem 5rem; `; storiesOf('Components/Card/CardContent', module) .addParameters({ readme: { sidebar: README, }, }) .add('Default', () => (React.createElement(ThemeProvider, { theme: RootTheme }, React.createElement(StyledStory, null, React.createElement(CardContent, null, React.createElement("p", null, "This is the container for card content. You can specify it's padding via the ", React.createElement("code", null, "Card"), " component.")))))); //# sourceMappingURL=CardContent.stories.js.map