MCPcopy Create free account
hub / github.com/mac-s-g/react-json-view / constructor

Function constructor

src/js/components/ObjectKeyModal/ObjectKeyModal.js:11–16  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

9//this input appears when adding a new value to an object
10export default class extends React.PureComponent {
11 constructor(props) {
12 super(props);
13 this.state = {
14 input: props.input ? props.input : ''
15 };
16 }
17
18 render() {
19 const { theme, rjvId, isValid } = this.props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…