react-datetime-pickers
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

react-datetime-pickers

React ready picker components for dates and time (month picker, week picker, day picker, range picker)

NPM Downloads npm bundle size

Screenshot

Install

npm install --save react-datetime-pickers

or

yarn install react-datetime-pickers

Usage

import React, {useState} from 'react';

import { DateTimePicker } from 'react-datetime-pickers';
import 'react-datetime-pickers/dist/index.css';

export default function Example() {
    const [date, setDate] = useState(new Date());
    
    return (
        <DateTimePicker
            selected={date}
            onChange={setDate}
        />
    );
}

License

MIT © mauriziocarella

Package Sidebar

Install

npm i react-datetime-pickers

Weekly Downloads

37

Version

1.1.2

License

MIT

Unpacked Size

131 kB

Total Files

17

Last publish

Collaborators

  • mauriziocarella