import * as React from "react"; import { InlineMath } from "react-katex"; import { Input, InputGroup, InputGroupAddon, InputProps } from "reactstrap"; export interface IMathInputProps extends InputProps {} export interface IMathInputState {} const ROOT_STYLE: React.CSSProperties = { width: "auto", display: "inline-block" }; export class MathInput extends React.PureComponent< IMathInputProps, IMathInputState > { render() { return ( {this.props.value && ( )} ); } }