0.5.2 • Published 28 days ago

daycy v0.5.2

Weekly downloads
839
License
MIT
Repository
github
Last release
28 days ago

DayCY

npm

Simple date (range) picker for React based on Semantic-UI.

Demo / overview of all components

Install

npm install daycy

Usage

First we will have to include the CSS. The easiest way to do this is to have your babel setup in such a way that you can import CSS. DayCY also needs the CSS from Semantic UI.

npm install semantic-ui-css
import 'semantic-ui-css/semantic.min.css';
import 'daycy/dist/daycy.css';

This has the added benefit of automatically keeping the CSS in sync with the version of the package you have installed.

Internationalization

By default the calendar popup will use English names for the months and days of the week. To override this you can change the translation function.

import { configureTranslation } from 'daycy';

function myTranslationFunction(key) {
    // Insert your logic here
}

configureTranslation(myTranslationFunction);
0.5.2

28 days ago

0.5.0

2 years ago

0.5.1

2 years ago

0.4.11

3 years ago

0.4.10

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.5

4 years ago

0.4.7

4 years ago

0.4.6

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago