MCPcopy Create free account
hub / github.com/MrNothing/AI-Blocks / constructor

Function constructor

Sources/src/Model/UI/CreateScript.js:7–11  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

5
6export default class CreateProject extends React.Component {
7 constructor(props) {
8 super(props);
9 this.state = {scriptname:'', scriptpath:'', template:"empty_template.py", template_desc:"An empty python script", icon:"fa fa-file-code-o", templatename:"Empty script"}
10 window.service.createScriptUI = this;
11 }
12
13 componentDidCatch(error, info) {
14 // Display fallback UI

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected