import * as React from "react"; import { Observable } from "babylonjs/Misc/observable"; import { PropertyChangedEvent } from "../../../../../components/propertyChangedEvent"; import { Animation } from "babylonjs/Animations/animation"; import { ButtonLineComponent } from "../../../lines/buttonLineComponent"; import { TextInputLineComponent } from "../../../lines/textInputLineComponent"; import { LockObject } from "../lockObject"; interface ILoadSnippetProps { animations: Animation[]; onPropertyChangedObservable?: Observable; lockObject: LockObject; } export class LoadSnippet extends React.Component< ILoadSnippetProps, { server: string } > { private _serverAddress: string; constructor(props: ILoadSnippetProps) { super(props); this._serverAddress = "-"; this.state = { server: "" }; } change(value: string) { this.setState({ server: value }); } render() { return (
this.change(value)} /> {}} />

Local File

{}} />

Snippet Server :

{this._serverAddress}

); } }