Skip to content

nshganesh/react-date-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple reusable less bundle size date selector component for React

Installation The package can be installed via NPM:

npm install react-date-selector --save Below is a simple example of how to use the Datepicker in a React view.

import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; import SimpleDateSelector from 'react-date-selector';

class App extends Component {

onChange = (value) => { console.log('inside ' + JSON.stringify(value)); };

render() { return (

logo

Welcome to React

To get started, edit src/App.js and save to reload.

); } }

export default App;

Configuration The most basic use of the DateSelector can be described with:

Compatibility React We're always trying to stay compatible with the latest version of React. We can't support all older versions of React.

Compatible versions: React 15.5 or newer

Browser Support: The date picker is compatible with the latest versions of Chrome, Firefox, and IE10+.

Unfortunately, it is difficult to support legacy browsers while maintaining our ability to develop new features in the future. For IE9 support, it is known that the classlist polyfill is needed, but this may change or break at any point in the future.

Local Development The master branch contains the latest version of the DateSelector component. To start your example app, you can run yarn start.

License: Licensed under MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published