react-dayjs-picker
v1.3.0
Published
Simple date picker and calendar made for React and Day.js
Downloads
306
Maintainers
Readme
react-dayjs-picker
Simple date picker and calendar made for React and Day.js
Demo/Documentation
Demo and API docs are available here!
Install
npm install --save react-dayjs-picker
or
yarn add react-dayjs-picker
Usage
import React, { FC, useState } from 'react'
import { DatePicker } from 'react-dayjs-picker'
import 'react-dayjs-picker/dist/index.css'
export const Example: FC = () => {
const [open, setOpen] = useState(false)
return <DatePicker isOpen={open} setIsOpen={setOpen} />
}
License
MIT © grzracz