@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
33 lines • 1.31 kB
JavaScript
// REACT
import * as React from 'react';
// STORYBOOK
import { storiesOf } from '@storybook/react';
// VENDOR
import styled, { ThemeProvider } from '@xstyled/styled-components';
// COMPONENT
import { FooterSection } from './FooterSection.component';
// README
import * as README from './README.md';
import { RootTheme } from '../../../theme';
const StyledStory = styled('div') `
padding: 10rem;
`;
storiesOf('Components/Layout/Footer/FooterSection', module)
.addParameters({
readme: {
sidebar: README,
},
})
.add('default', () => (React.createElement(ThemeProvider, { theme: RootTheme },
React.createElement(StyledStory, null,
React.createElement(FooterSection, { title: "Section Title" },
React.createElement("ul", null,
React.createElement("li", null,
React.createElement("a", { href: "#" }, "Link 1")),
React.createElement("li", null,
React.createElement("a", { href: "#" }, "Link 2")),
React.createElement("li", null,
React.createElement("a", { href: "#" }, "Link 3")),
React.createElement("li", null,
React.createElement("a", { href: "#" }, "Link 4"))))))));
//# sourceMappingURL=FooterSection.stories.js.map