Skip to content

Commit 67770e2

Browse files
committed
chore: pass style prop to inner div
1 parent 2846aec commit 67770e2

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)