RobertWarrenGilmore / react-timezone

Timezone picker for React.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 63.2%Language:HTML 25.5%Language:CSS 11.3%