react-dayjs-picker
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

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

Package Sidebar

Install

npm i react-dayjs-picker

Weekly Downloads

58

Version

1.3.0

License

MIT

Unpacked Size

101 kB

Total Files

20

Last publish

Collaborators

  • grzracz