11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
33exports [` <CodePane /> should render correctly. 1` ] = `
4- <CodePane
4+ <Styled(div)
55 className=""
6- contentEditable = { false }
7- lang = " jsx"
8- source = "
9- const myButton = (
10- <CustomButton
11- style={{ background: '#f00' }}
12- onClick={this.action}
13- >
14- Click Me
15- </CustomButton>
16- );
17- "
18- theme = " dark"
6+ styles={
7+ Array [
8+ Object {},
9+ Object {},
10+ undefined ,
11+ ]
12+ }
1913>
20- <Styled(div)
21- className=""
22- styles={
23- Array [
24- Object {},
25- Object {},
26- undefined ,
27- ]
28- }
29- >
30- <div
31- className = " css-0 ep9ila60"
32- >
33- <Styled(Component)
34- className="language-jsx builtin-prism-theme "
35- code="
14+ <Styled(Component)
15+ className="language-jsx builtin-prism-theme "
16+ code="
3617 const myButton = (
3718 <CustomButton
3819 style = { { background: ' #f00' }}
@@ -42,75 +23,13 @@ exports[`<CodePane /> should render correctly. 1`] = `
4223 </CustomButton >
4324 );
4425 "
45- contentEditable={ false }
46- language="jsx"
47- onClick={ [Function ]}
48- onKeyDown={ [Function ]}
49- onKeyUp={ [Function ]}
50- prismTheme="dark;"
51- syntaxStyles={ Object {}}
52- >
53- <Component
54- className = " language-jsx builtin-prism-theme css-1rm1mht ep9ila61"
55- code = "
56- const myButton = (
57- <CustomButton
58- style={{ background: '#f00' }}
59- onClick={this.action}
60- >
61- Click Me
62- </CustomButton>
63- );
64- "
65- contentEditable = { false }
66- language = " jsx"
67- onClick = { [Function ]}
68- onKeyDown = { [Function ]}
69- onKeyUp = { [Function ]}
70- prismTheme = " dark;"
71- syntaxStyles = { Object {}}
72- >
73- <Editor
74- className = " language-jsx builtin-prism-theme css-1rm1mht ep9ila61"
75- code = "
76- const myButton = (
77- <CustomButton
78- style={{ background: '#f00' }}
79- onClick={this.action}
80- >
81- Click Me
82- </CustomButton>
83- );
84- "
85- contentEditable = { false }
86- language = " jsx"
87- onClick = { [Function ]}
88- onKeyDown = { [Function ]}
89- onKeyUp = { [Function ]}
90- >
91- <pre
92- className = " prism-code language-jsx builtin-prism-theme css-1rm1mht ep9ila61"
93- contentEditable = { false }
94- dangerouslySetInnerHTML = {
95- Object {
96- " __html" : "
97- <span class=\\ " token keyword \\" >const</span> myButton <span class=\\ " token operator \\" >=</span> <span class=\\ " token punctuation \\" >(</span>
98- <span class =\\"token tag\\"><span class =\\"token tag\\"><span class =\\"token punctuation\\"><</span>CustomButton</span>
99- <span class =\\"token attr-name\\">style</span><span class =\\"token script language-javascript\\"><span class =\\"token punctuation\\">=</span><span class =\\"token punctuation\\">{</span><span class =\\"token punctuation\\">{</span> background<span class =\\"token punctuation\\">:</span> <span class =\\"token string\\">'#f00'</span> <span class =\\"token punctuation\\">}</span><span class =\\"token punctuation\\">}</span></span>
100- <span class =\\"token attr-name\\">onClick</span><span class =\\"token script language-javascript\\"><span class =\\"token punctuation\\">=</span><span class =\\"token punctuation\\">{</span><span class =\\"token keyword\\">this</span><span class =\\"token punctuation\\">.</span>action<span class =\\"token punctuation\\">}</span></span>
101- <span class =\\"token punctuation\\">></span></span>
102- Click Me
103- <span class =\\"token tag\\"><span class =\\"token tag\\"><span class =\\"token punctuation\\"></</span>CustomButton</span><span class =\\"token punctuation\\">></span></span>
104- <span class =\\"token punctuation\\">)</span><span class =\\"token punctuation\\">;</span>
105- " ,
106- }
107- }
108- spellCheck=" false"
109- />
110- < / Editor >
111- < / Component >
112- < / Styled (Component )>
113- < / div >
114- < / Styled (div )>
115- < / CodePane >
26+ contentEditable={ false }
27+ language="jsx"
28+ onClick={ [Function ]}
29+ onKeyDown={ [Function ]}
30+ onKeyUp={ [Function ]}
31+ prismTheme="dark;"
32+ syntaxStyles={ Object {}}
33+ />
34+ </Styled(div)>
11635` ;
0 commit comments