Skip to content

archieherbias/year-picker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Year Picker

A simple Yearpicker component for React

Installation

The package can be installed via NPM:

npm install react-year-picker --save
import React from "react";
import YearPicker from "react-year-picker";

class Example extends React.Component {
  constructor(props) {
    super(props);
    this.handleChange = this.handleChange.bind(this);
  }

  handleChange(date) {
    console.log(date);
  }

  render() {
    return <YearPicker onChange={this.handleChange} />;
  }
}

Browser Support

The year picker is compatible with the latest versions of Chrome, Firefox, and IE11+.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.5%
  • CSS 16.5%