React-Bind-Material-UI
Functional reactive 2-way binding for Material-UI.
TL;DR:
npm install --save react-bind-material-ui material-ui
import React Component from 'react';import Binder from 'react-bind';import TextField from 'react-bind-material-ui'; { ; thisbind = thisbind; } { return <div> <div><TextField ="Address 1" = /></div> <div><TextField ="Address 2" = /></div> <div><TextField ="City" = /></div> <div><TextField ="State" = /></div> <div><TextField ="Postal" = /></div> </div> } { ; thisbinder = this; thisbind = thisbinderbind; thisstate = model: billingAddress: address1: "123 React Blvd" address2: "Unit A" city: "San Reacto" state: "PO" postal: "00123" ; thisbinder; } { return <div> <div> Billing Address:<br /> <Address = /> </div> <div> Shipping Address:<br /> <Address = /> </div> </div> ; }
Based on React-Bind
Please see react-bind for more information.