MCPcopy Create free account
hub / github.com/decaporg/decap-cms / constructor

Function constructor

packages/decap-cms-widget-object/src/ObjectControl.js:58–63  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

56 };
57
58 constructor(props) {
59 super(props);
60 this.state = {
61 collapsed: props.field.get('collapsed', false),
62 };
63 }
64
65 componentDidMount() {
66 // Manually validate PropTypes - React 19 breaking change

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected