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

react-period-of-stay-input

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-period-of-stay-input

React.js component for entering a period of stay in a hotel: check-in + check-out date

  • 7.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

About

React.js component for entering a period of stay in a hotel: check-in day and check-out day. See the demo. In case when the native <input type=date> implementation is not available, it's “polyfilled” with the react-datepicker component.

Installation

npm install --save react-period-of-stay-input

Usage

See the annotated source code of the demo mentioned above.

Internationalization

The i18n is based on the react-intl library. react-intl facilitates using react-period-of-stay-input, and other similarly organized modules, in a large single-page application (SPA). Its IntlProvider wrapper passes all the app translations, for all the sub-modules, from the root, down the React components hierarchy.

Normally, translations for every supported locale are collected from all the sub-modules, and pre-compiled into a separate JS bundle, during the SPA build step. Thus, the browser doesn't have to download the translations for the locales it doesn't display at the moment.

Keywords

FAQs

Package last updated on 13 Aug 2018

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