šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

react-bootstrap-timezone-picker

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-timezone-picker

Timezone picker for react-bootstrap

2.0.1
latest
Source
npm
Version published
Weekly downloads
5.2K
2.11%
Maintainers
1
Weekly downloads
Ā 
Created
Source

react-bootstrap-timezone-picker

Time zone picker for react-bootstrap - 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

react

FAQs

Package last updated on 09 Apr 2020

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