MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

13413function _SnapshotEditor(props1) {
13414 class __SnapshotEditor extends (0, _base.base).react.Component {
13415 constructor(props){
13416 super(props);
13417 this.state = {
13418 showEditFormDialog: false,
13419 title: "",
13420 description: "",
13421 image: null,
13422 bgColor: null,
13423 insight: null,
13424 editIndex: -1
13425 };
13426 }
13427 resize(src, thumbWidth) {
13428 if (!src) return;
13429 var img = new Image();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected