predix-ui
Version:
px-* web components as React styled components
29 lines (27 loc) • 800 B
JavaScript
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withKnobs } from '@storybook/addon-knobs/react';
import Layout from './';
import LayoutItem from './LayoutItem';
import Card from '../Card';
storiesOf('Components / Layout', module)
.addDecorator(withKnobs)
.addWithJSX('default', () => (
<Layout>
<LayoutItem item>
<Card headerText="Card 1">
This is the main context area of the card.
</Card>
</LayoutItem>
<LayoutItem item>
<Card headerText="Card 2">
This is the main context area of the card.
</Card>
</LayoutItem>
<LayoutItem item>
<Card headerText="Card 3">
This is the main context area of the card.
</Card>
</LayoutItem>
</Layout>
));