let { TextField, Fabric } = window.Fabric;

class TextFieldUnderlinedExample extends React.Component<any, any> {
  public render(): JSX.Element {
    return (
      <div className="docs-TextFieldExample">
        <TextField label="Standard:" underlined />
        <TextField label="Disabled:" underlined disabled={true} />
        <TextField label="Required:" underlined required={true} />
        <TextField label="With error message:" underlined errorMessage="Error message" />
      </div>
    );
  }
}

ReactDOM.render(<TextFieldUnderlinedExample />, document.getElementById('content'));
