This package has been deprecated

Author message:

Package deprecated

@hnordt/reax-text-input

1.0.2 • Public • Published

Reax Text Input

Bootstrap Text Input component for React

npm version

PropTypes

{
  name: PropTypes.string,
  value: PropTypes.string,
  placeholder: PropTypes.string,
  maxLength: PropTypes.number,
  autoFocus: PropTypes.bool,
  readOnly: PropTypes.bool,
  disabled: PropTypes.bool,
  onFocus: PropTypes.func,
  onChange: PropTypes.func,
  onBlur: PropTypes.func
}

Usage

npm install --save @hnordt/reax-text-input
import React from 'react';
import TextInput from '@hnordt/reax-text-input';

const Foo = () => (
  <TextInput
    placeholder="Foo"
    value="Bar"
    onChange={event => console.log(event.target.value)} />
);

export default Foo;

/@hnordt/reax-text-input/

    Package Sidebar

    Install

    npm i @hnordt/reax-text-input

    Weekly Downloads

    60

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • hnordt