2.1.1 • Published 3 years ago

cmi-calendar v2.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

cmi-calendar

License

install

This package is using [react]. So following libs should be installed first

npm install cmi-calendar

then

import calendar from 'cmi-calendar'

props

typedefaultdescription
rootHTMLElementnoneSpace to place the calendar
yearnumbernoneYear of calendar to make
monthnumbernoneMonth of calendar to make

example

import React, { useRef, useEffect } from "react";
import Calendar from "cmi-calendar";

const App = () => {
  const calendar = useRef();

  useEffect(() => {
    Calendar(calendar, 2020, 12);
  }, []);

  return <div ref={calendar} />;
};
export default App;

screenshot

2.1.1

3 years ago

2.1.0

3 years ago

1.0.2

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago