7.0.0 • Published 6 years ago

react-period-of-stay-input v7.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

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.

7.0.0

6 years ago

6.1.0

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

6.0.0-0

6 years ago

5.0.3

6 years ago

5.0.2

7 years ago

5.0.1

7 years ago

5.0.0

7 years ago

4.1.3

8 years ago

4.1.2

8 years ago

4.1.1

9 years ago

4.1.0

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.0.0

10 years ago

2.0.0-1

10 years ago

2.0.0-0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago