File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1- import * as React from 'react'
2- import Markdown from '../Markdown'
31import { Checkbox } from '@alifd/next'
2+ import * as React from 'react'
43// import CC from '../../typings/client'
54import CR from 'typings'
5+ import Markdown from '../Markdown'
66
77const styles = {
88 card : {
Original file line number Diff line number Diff line change 11import React from 'react'
22
3+ import { object , withKnobs } from '@storybook/addon-knobs'
34import { storiesOf } from '@storybook/react'
4- import { withKnobs , object } from '@storybook/addon-knobs'
55import SideBarDecorator from './utils/SideBarDecorator'
66
77import Step from '../src/components/Step'
@@ -23,3 +23,26 @@ storiesOf('Tutorial SideBar', module)
2323 } ) }
2424 />
2525 ) )
26+ . add ( 'Step Markdown' , ( ) => (
27+ < Step
28+ content = { object ( 'content' , {
29+ text : `Markdown included \`code\`, *bold*, & _italics_.
30+ \`\`\`
31+ var a = 12
32+ \`\`\`
33+
34+ Headers can be added:
35+
36+ # h1
37+ ## h2
38+ ### h3
39+ #### h4
40+ ##### h5
41+ ` ,
42+ } ) }
43+ status = { object ( 'status' , {
44+ active : false ,
45+ complete : true ,
46+ } ) }
47+ />
48+ ) )
You can’t perform that action at this time.
0 commit comments