Skip to content

Commit 2b6f095

Browse files
authored
Merge pull request #299 from thiskevinwang/master
chore: pass `style` prop to inner div
2 parents 2846aec + 67770e2 commit 2b6f095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Editor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const CodeEditor = (props) => {
2828
}, [code]);
2929

3030
return (
31-
<div className={props.className}>
31+
<div className={props.className} style={props.style}>
3232
<Highlight
3333
Prism={Prism}
3434
code={code}

0 commit comments

Comments
 (0)