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

react-timezone-select

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timezone-select - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

2

dist/index.d.ts
/// <reference types="react" />
import allTimezones from './timezone-list';
import "./index.css";

@@ -11,1 +12,2 @@ import type { Props } from './types/timezone';

export default TimezoneSelect;
export { allTimezones };

@@ -109,2 +109,3 @@ import { jsx as _jsx } from "react/jsx-runtime";

export default TimezoneSelect;
export { allTimezones };
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "react-timezone-select",
"version": "1.1.9",
"version": "1.1.10",
"description": "Usable, dynamic React Timezone Select",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -113,3 +113,3 @@ # 🌐⌚ react-timezone-select

```jsx
import TimezoneSelect, { i18nTimezones } from "react-timezone-select"
import TimezoneSelect, { allTimezones } from "react-timezone-select"
;<TimezoneSelect

@@ -119,3 +119,3 @@ value={selectedTimezone}

timezones={{
...i18nTimezones,
...allTimezones,
"America/Lima": "Pittsburgh",

@@ -127,3 +127,3 @@ "Europe/Berlin": "Frankfurt",

The above example will generate two additional choices in the select options, one with the label `'(GMT-5:00) Pittsburgh'` and another with `'(GMT+1:00) Frankfurt'`. You can omit spreading in the `i18nTimezones` object and then only your custom timezone options get rendered in the select component.
The above example will generate two additional choices in the select options, one with the label `'(GMT-5:00) Pittsburgh'` and another with `'(GMT+1:00) Frankfurt'`. You can omit spreading in the `allTimezones` object and then only your custom timezone options get rendered in the select component.

@@ -130,0 +130,0 @@ ## 🕹️ Props

Sorry, the diff of this file is not supported yet

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