Detalhes do pacote

znui-react-input

znui20MIT2.0.7

Web input component.

web component, input

readme (leia-me)

znui-react-input

Input component.

npm npm

Demo

Take a look at the demo

Installation

npm install znui-react-input -s

Usage


var ReactDOM = require('react-dom');

var inputs = require('znui-react-input');


znui.react.createApplication({
    render: <div className="form-container">
        <inputs.Input onChange={(event)=>console.log(event.value)} />
        <inputs.Input name="name"/>
        <inputs.Textarea onChange={(event)=>console.log(event.value)} />
    </div>
});

License

MIT