blob: f4bd633514ebf6c9a4b34499a4440bd65ea1a161 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import React from 'react'
import { storiesOf } from '@storybook/react'
import { DemoComponent } from '../src/demo-component'
storiesOf('DemoComponent', module).add('with heading', () => (
<DemoComponent>
<h1 style={{ fontSize: '4em' }}>Hello world</h1>
</DemoComponent>
))
|