1.0.7 • Published 4 years ago

@logicamente.info/react-input-month v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

React-Input-Month

Travis npm package

This is a React component that enables the use of inputs with month type in browsers that does not support it nativelly.

For a demo, run yarn start.

Installation

$ npm i -S @logicamente.info/react-input-month # NPM user
$ yarn add @logicamente.info/react-input-month # NPM user

Usage

import React from 'react';
import InputMonth from '@logicamente.info/react-input-month';

export default class Demo extends React.Component {
  render() {
    return (
      <InputMonth
        required        // Default: false
        lang={"pt-BR"}  // Default: en-US
        value={this.state.month}
        onChange={(e) => this.setState({ month: e.target.value })}>
    );
  }
}
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago