1.1.9-beta.3 • Published 4 months ago

basic-react-calendar v1.1.9-beta.3

Weekly downloads
2
License
MIT
Repository
-
Last release
4 months ago

basic-react-calendar

Ultimate calendar for your React app.

  • Pick days, months, or even years
  • No moment.js needed

Getting started

Compatibility

Your project needs to use React 16.8 or later.

react-calendar uses modern web technologies. That's why it's so fast, lightweight and easy to style. This, however, comes at a cost of supporting only modern browsers.

Installation

Add react-calendar to your project by executing npm install react-calendar or yarn add react-calendar.

Usage

Here's an example of basic usage:

import { useState } from "react";
import Calendar from "basic-react-calendar";

function MyApp() {
  const [value, setValue] = useState < string || null > null;

  const onChange = (val: string) => {
    setValue(val);
  };

  return (
    <div>
      <Calendar onChange={onChange} value={value} />
    </div>
  );
}

Custom styling

If you want to use default react-calendar styling to build upon it, you can import react-calendar's styles by using:

import "basic-react-calendar/dist/Calendar.css";

Props

coming soooooon

License

The MIT License.

1.1.8

4 months ago

1.1.9-beta.0

4 months ago

1.1.9-beta.1

4 months ago

1.1.9-beta.2

4 months ago

1.1.9-beta.3

4 months ago

1.1.7

4 months ago

1.1.6

4 months ago

1.1.6-beta.1

4 months ago

1.1.5

4 months ago

1.1.4

4 months ago

1.1.3

4 months ago

1.1.2

4 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.4-beta.1

5 months ago

1.0.4-beta.2

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.4-beta.0

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

0.0.1-beta.3

5 months ago

0.0.1-beta.2

5 months ago

0.0.1-beta.1

5 months ago

0.0.1-beta.0

5 months ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

4 years ago