Coder Social home page Coder Social logo

trendingtechnology / react-period-of-stay-input Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ikr/react-period-of-stay-input

0.0 2.0 0.0 352 KB

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

License: MIT License

TypeScript 98.56% HTML 0.80% JavaScript 0.65%

react-period-of-stay-input's Introduction

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.

react-period-of-stay-input's People

Contributors

borodyadka avatar ikr avatar vartemiev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.