This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-simple-date-range
TypeScript icon, indicating that this package has built-in type declarations

1.3.5 • Public • Published

React Simple Date Range

A fast, modern and highly customizable Date range picker for React. Integrates seamlessly React Hook form and can be styled using your favourite css framework like tailwindcss.

import { useState } from 'react';
import { DateRangePicker, DateRange } from 'react-simple-date-range';

const RangeExample = () => {
  const [range, setRange] = useState({
    start: null,
    end: null,
  } as DateRange);

  return (
    <DateRangePicker
      value={range}
      onChange={(newRange) => setRange(() => newRange)}
    ></DateRangePicker>
  );
};

export default RangeExample;

Features

  • Effortless form integration
  • Customizable cells
  • Full control over disabled dates, with custom options
  • Written in Typescript

Documentation

The documentation is currently being worked on, if you have any issues please visit the issues section on github.

Contributing

Feel free to submit a PR on Github

Readme

Keywords

none

Package Sidebar

Install

npm i react-simple-date-range

Weekly Downloads

0

Version

1.3.5

License

MIT

Unpacked Size

40.3 kB

Total Files

8

Last publish

Collaborators

  • niekh1234