MCPcopy Index your code
hub / github.com/dataease/SQLBot / constructor

Method constructor

frontend/public/swagger-ui-bundle.js:69997–70001  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

69995 const UP = Function.prototype
69996 class RequestBodyEditor extends Re.PureComponent {
69997 static defaultProps = { onChange: UP, userHasEditedBody: !1 }
69998 constructor(s, o) {
69999 ;(super(s, o),
70000 (this.state = { value: stringify(s.value) || s.defaultValue }),
70001 s.onChange(s.value))
70002 }
70003 applyDefaultValue = (s) => {
70004 const { onChange: o, defaultValue: i } = s || this.props

Callers

nothing calls this directly

Calls 1

stringifyFunction · 0.85

Tested by

no test coverage detected