Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reactstrap-timezone-picker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactstrap-timezone-picker

Timezone picker for react-bootstrap

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
49
decreased by-32.88%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 11 Jul 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc