Socket
Socket
Sign inDemoInstall

reactstrap-timezone-picker

Package Overview
Dependencies
44
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    reactstrap-timezone-picker

Timezone picker for react-bootstrap


Version published
Weekly downloads
66
decreased by-5.71%
Maintainers
1
Install size
8.46 MB
Created
Weekly downloads
 

Readme

Source

react-bootstrap-timezone-picker

Time zone picker for reactsrap forked from react-boostrap - DEMO

react-bootstrap-timezone-picker

npm version Downloads Build Status Coverage Status

Versioning

  • v2 supports React Bootstrap v1.0.0+
  • v1 supports React Bootstrap v0.x.x

Installation

npm install react-bootstrap-timezone-picker

Usage Example

import TimezonePicker from 'react-bootstrap-timezone-picker';
import 'react-bootstrap-timezone-picker/dist/react-bootstrap-timezone-picker.min.css';
...
<TimezonePicker
  absolute      = {false}
  defaultValue  = "Europe/Moscow"
  placeholder   = "Select timezone..."
  onChange      = {this.handleChange}
/>
...

Demo source code is available here.

Props

Note: all props are optional.

PropTypeDefaultDescription
absolutebooltrueControl time zone list overflow. Please check demo for more details.
classNamestringnoneClass name for container
defaultValuestringnoneInitial time zone can be provided
onChange(newValue: string)funcnoneTriggered on user selection
placeholderstringnoneIf value is empty, than placeholder is displayed
styleobjectnoneStyle for container
timezonesobjectloaded from timezone.jsonTime zone option list
valuestringnoneOverride selected time zone with a new value

License

MIT (c) Yury Dymov

Keywords

FAQs

Last updated on 11 Jul 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc