Skip to content

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

Notifications You must be signed in to change notification settings

mauriziocarella/react-datetime-pickers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks