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

Method render

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

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 render() {
12 const { active, theme, rjvId } = this.props;
13
14 return active ? (
15 <ObjectKeyModal
16 rjvId={rjvId}
17 theme={theme}
18 isValid={this.isValid}
19 submit={this.submit}
20 />
21 ) : null;
22 }
23
24 isValid = input => {
25 const { rjvId } = this.props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected