Browse Source

fix: Replace an inline styleswith propClass (#6265)

bubble
Helen Kosova 4 years ago
committed by GitHub
parent
commit
bd9117da8e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core/components/object-model.jsx

+ 2
- 2
src/core/components/object-model.jsx View File

@@ -5,7 +5,7 @@ import ImPropTypes from "react-immutable-proptypes"

const braceOpen = "{"
const braceClose = "}"
const propStyle = { color: "#6b6b6b", fontStyle: "italic" }
const propClass = "property"

export default class ObjectModel extends Component {
static propTypes = {
@@ -222,7 +222,7 @@ export default class ObjectModel extends Component {
<span className="brace-close">{ braceClose }</span>
</ModelCollapse>
{
infoProperties.size ? infoProperties.entrySeq().map( ( [ key, v ] ) => <Property key={`${key}-${v}`} propKey={ key } propVal={ v } propStyle={ propStyle } />) : null
infoProperties.size ? infoProperties.entrySeq().map( ( [ key, v ] ) => <Property key={`${key}-${v}`} propKey={ key } propVal={ v } propClass={ propClass } />) : null
}
</span>
}


Loading…
Cancel
Save