Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 3c4f08a

Browse files
committed
Get the last of it working.
1 parent 46107ae commit 3c4f08a

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import * as React from 'react'
2+
import { storiesOf } from '@storybook/react'
3+
4+
import { FunDog } from './index'
5+
6+
storiesOf('Fun Dog', module).add('default', () => <FunDog />)

src/renderer/platform/components/text/text.story.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ import { storiesOf } from '@storybook/react'
33

44
import { Text } from './index'
55

6-
storiesOf('Text', module).add('default', () => <Text>Hello World!</Text>)
6+
storiesOf('Text', module).add('default', () => <Text>Hello World!</Text>).add('with children', () =>
7+
<Text>
8+
<strong>I am STRONG</strong>
9+
</Text>,
10+
)

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"moduleResolution": "node",
66
"jsx": "react",
77
"experimentalDecorators": true,
8-
"allowSyntheticDefaultImports": false,
8+
"allowSyntheticDefaultImports": true,
99
"strict": true,
1010
"noUnusedLocals": true
1111
}

0 commit comments

Comments
 (0)