MCPcopy Index your code
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:13196–13199  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

13194function _Settings(_props) {
13195 class __Settings extends (0, _base.base).react.Component {
13196 constructor(props){
13197 super(props);
13198 this.state = initState(props);
13199 }
13200 render() {
13201 const { props , state } = this;
13202 if (!props.explorer.viewer || !props.explorer.viewer.vegaSpec) return null;

Callers

nothing calls this directly

Calls 1

initStateFunction · 0.70

Tested by

no test coverage detected