UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

17 lines 651 B
// REACT import * as React from 'react'; // STORYBOOK import { storiesOf } from '@storybook/react'; // VENDOR import styled, { ThemeProvider } from '@xstyled/styled-components'; // COMPONENTS import { Title } from './Title.component'; import { RootTheme } from '../../theme'; const StyledStory = styled('div') ` padding: 2rem 5rem; `; storiesOf('Components/List/Title', module).add('Primary', () => (React.createElement(ThemeProvider, { theme: RootTheme }, React.createElement(StyledStory, null, React.createElement("p", null, "Title"), React.createElement(Title, null, "Title 1"))))); //# sourceMappingURL=Title.stories.js.map