Skip to content

Commit bc355f3

Browse files
authored
Merge pull request #81 from n1c0de/hotfix/use-camelcase-on-inline-style
Use camelCase on inline style
2 parents b357174 + a2312a7 commit bc355f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/components/DataTypes/String.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class extends React.PureComponent {
4444
const { collapseStringsAfterLength, theme, escapeStrings } = props
4545
let { value } = props
4646
const collapsible = toType(collapseStringsAfterLength) === 'integer'
47-
const style = { style: { cursor: 'default', 'word-break': 'break-all' } }
47+
const style = { style: { cursor: 'default', wordBreak: 'break-all' } }
4848

4949
if (escapeStrings) {
5050
value = escapeString(value)

0 commit comments

Comments
 (0)