()
| 515 | }; |
| 516 | |
| 517 | render() { |
| 518 | const {arg, parentField} = this.props; |
| 519 | const argSelection = this._getArgSelection(); |
| 520 | |
| 521 | return ( |
| 522 | <AbstractArgView |
| 523 | argValue={argSelection ? argSelection.value : null} |
| 524 | arg={arg} |
| 525 | parentField={parentField} |
| 526 | addArg={this._addArg} |
| 527 | removeArg={this._removeArg} |
| 528 | setArgFields={this._modifyChildFields} |
| 529 | setArgValue={this._setArgValue} |
| 530 | getDefaultScalarArgValue={this.props.getDefaultScalarArgValue} |
| 531 | makeDefaultArg={this.props.makeDefaultArg} |
| 532 | onRunOperation={this.props.onRunOperation} |
| 533 | styleConfig={this.props.styleConfig} |
| 534 | onCommit={this.props.onCommit} |
| 535 | definition={this.props.definition} |
| 536 | /> |
| 537 | ); |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | type ArgViewProps = {| |
nothing calls this directly
no outgoing calls
no test coverage detected