Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 631 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 631 Bytes

Datepicker Component

A minimalistic datepicker for React. Built with Tailwind & Framer Motion

Alt text

Basic Usage

  • Copy the component to your own project
  • Install dependencies: yarn add framer-motion lucide-react
<Datepicker onChange={(date) => console.log(date)} />

Parameters

Parameter Type Use
onChange (date => void; Function that will trigger when the date is changed