Skip to content

chochinlu/easy-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-calendar

A simple calendar component. (powered by reason-react)

screenshot

Testing

Clone this repo, then:

$ npm start
$ npm run webpack  // another terminal
$ open src/index.html // another terminal,  open reason-react version
$ open src/index.react.html  // open react version

Usage ( for React )

The easy-calendar uses mni.css, please add the css binding before use the easy-calendar components�:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Chalarangelo/mini.css@v3.0.0/dist/mini-default.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">

Then:

import { Calendar } from "easy-calendar";

Target

  • date picker. (done)
  • day view (processing)
  • year view, week view
  • balabala.