Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (23 sloc) 851 Bytes

TextField

See the demo component here

Usage

Below, an example of using the TextField component:

import { TextField } from 'mdwrapper';

const Demo = () => (
  <TextField label={'Demo'} icon={'reply_all'} outlined onChange={e => console.log(e)} />
);

Props

List of all properties for the TextField component:

Prop Type Default Description
fullWidth boolean false Full Width Style
disabled boolean false Available State
helper string - Helper Text
icon string - Material Design Icon
label string - Label
onChange function void Change Trigger
outlined boolean false Outlined Style
placeholder string '' Indicator Text
trailing boolean false Trailing
You can’t perform that action at this time.