Skip to content

prakash-selvam/react-timezone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-timezone

Timezone Picker for React

##Demo Available here.

##Installation Should prefer installing via NPM:

$ npm install react-timezone

The UMD build can be found in build directory if you ever need them.

##Usage Usage is very simple. There are the usual value, defaultValue and onChange props. Additionally passing placeholder to input and appending className to container classes.

To get the current value, you can use value() method.

Minimal styles are included with the build.

##Timezones Timezones are stolenborrowed from Google Calendar.

For now the component expects the value to be in the format of object values in src/timezones.json file and that is the retured value from component.

##Contributing

This is pretty much just an alpha version. PRs and issues are welcome.

About

Timezone picker for React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages