= React.createRef();
constructor(props: IEquationViewInternal) {
super(props);
this._fieldKey = this.props.fieldKey;
this._textBoxDoc = this.props.tbox.props.Document;
}
componentWillUnmount() {
this._reactionDisposer?.();
}
componentDidMount() {
this.props.setEditor(this._ref.current ?? undefined);
}
render() {
return (
(this._textBoxDoc[this._fieldKey] = str)}
autoCommands="pi theta sqrt sum prod alpha beta gamma rho"
autoOperatorNames="sin cos tan"
spaceBehavesLikeTab={true}
/>
);
}
}