1.3.0 • Published 3 years ago

react-dayjs-picker v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-dayjs-picker

Simple date picker and calendar made for React and Day.js

NPM JavaScript Style Guide License

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