We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent660d4b1 commitbfc4f8cCopy full SHA for bfc4f8c
web-app/stories/New.stories.tsx
@@ -9,20 +9,16 @@ import SideBarDecorator from './utils/SideBarDecorator'
9
consttutorialList=[
10
{
11
id:'1',
12
-version:{
13
-summary:{
14
-title:'Tutorial 1',
15
-description:'The first one',
16
-},
+summary:{
+title:'Tutorial 1',
+description:'The first one',
17
},
18
19
20
id:'2',
21
22
23
-title:'Tutorial 2',
24
-description:'The second one',
25
+title:'Tutorial 2',
+description:'The second one',
26
27
28
]
@@ -37,5 +33,11 @@ storiesOf('Start', module)
37
33
})
38
34
.add('Tutorial Item',()=>{
39
35
consttutorial=tutorialList[0]
40
-return<TutorialItemonSelect={action('onSelect')}title={tutorial.title}description={tutorial.description}/>
36
+return(
+<TutorialItem
+onSelect={action('onSelect')}
+title={tutorial.summary.title}
+description={tutorial.summary.description}
41
+/>
42
+)
43