React select timezone
npm install @capaj/react-select-timezoneA simple component wrapping React-Select and Moment.Timezone to make a timezone picker.
Forked from vinhnglx/react-timezone-select
```
$ npm install @capaj/react-select-timezone
`javascript
import React from 'react'
import ReactDOM from 'react-dom'
import PropTypes from 'prop-types'
import SelectTimezone, { getTimezoneProps } from 'react-select-timezone'
const App = () => {
return (
App.propTypes = {
name: PropTypes.string
}
export default App
`
if you just need to display a timezone in the same format, do import {formatTimezone} from @capaj/react-select-timezone and use that. It will format the Europe/London into (GMT+01:00) Europe/London
If you prefer virtualized list, import makeVirtualMenuListComponent` and use it like show in the showcase.