Class

CustomTextField

CustomTextField(props) → {React.ReactElement}

Constructor

# new CustomTextField(props) → {React.ReactElement}

Overview

The TextField component from Material-UI library with custom styling. For full documentation check out Material-UI docs on TextField.
Style was take from this tutorial with some changes.

Usage

You are able to customize label outside of the TextField. There is also an option to disable some menu items in the Select component.
Parameters:
Name Type Attributes Description
props Object

Any other props will be forwarded to TextField component.

disabledChildren Array <optional>

Disabled elements from the Select component.

outsideLabel React.ReactNode <optional>

Label placed outside of the TextField.

OutsideLabelProps Object <optional>

Props applied to the OutsideLabel element.

View Source Utils/Inputs/CustomTextField.js, line 67

React.ReactElement