Skip to content

Commit 54aa556

Browse files
committed
Update snapshots after rebase
1 parent d1d2af5 commit 54aa556

File tree

2 files changed

+58
-62
lines changed

2 files changed

+58
-62
lines changed

src/components/__snapshots__/code-pane.test.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ exports[`<CodePane /> should render correctly. 1`] = `
6767
dangerouslySetInnerHTML={
6868
Object {
6969
"__html": "
70-
<span class=\\"token keyword\\">const</span> myButton <span class=\\"token operator\\">=</span> <span class=\\"token punctuation\\">(</span>
71-
<span class=\\"token tag\\"><span class=\\"token tag\\"><span class=\\"token punctuation\\">&lt;</span>CustomButton</span>
72-
<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>
73-
<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>
74-
<span class=\\"token punctuation\\">></span></span>
75-
Click Me
76-
<span class=\\"token tag\\"><span class=\\"token tag\\"><span class=\\"token punctuation\\">&lt;/</span>CustomButton</span><span class=\\"token punctuation\\">></span></span>
77-
<span class=\\"token punctuation\\">)</span><span class=\\"token punctuation\\">;</span>
78-
",
70+
<span class=\\"token keyword\\">const</span> myButton <span class=\\"token operator\\">=</span> <span class=\\"token punctuation\\">(</span>
71+
<span class=\\"token tag\\"><span class=\\"token tag\\"><span class=\\"token punctuation\\">&lt;</span>CustomButton</span>
72+
<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>
73+
<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>
74+
<span class=\\"token punctuation\\">></span></span>
75+
Click Me
76+
<span class=\\"token tag\\"><span class=\\"token tag\\"><span class=\\"token punctuation\\">&lt;/</span>CustomButton</span><span class=\\"token punctuation\\">></span></span>
77+
<span class=\\"token punctuation\\">)</span><span class=\\"token punctuation\\">;</span>
78+
",
7979
}
8080
}
8181
language="jsx"
82-
onClick={undefined}
83-
onKeyDown={undefined}
84-
onKeyUp={undefined}
82+
onClick={false}
83+
onKeyDown={false}
84+
onKeyUp={false}
8585
spellCheck="false"
8686
style={undefined}
8787
styles={undefined}

0 commit comments

Comments
 (0)