@plocks/dates
v0.2.0
Published
Calendars and date, month, year and time pickers for plocks.
Maintainers
Readme
Calendars and date, month, year and time pickers for plocks. Part of plocks: it builds on @plocks/ui and reads the same theme.
Contains Calendar, MiniCalendar, DatePicker, DatePickerInput, MonthPicker, MonthPickerInput, YearPicker, YearPickerInput, TimePicker and TimePickerInput.
Installation
npm install @plocks/ui @plocks/datesUsage
Render inside the PlocksProvider from @plocks/ui:
import { DatePickerInput } from '@plocks/dates';
<DatePickerInput label="Start date" value={date} onChange={setDate} />See plocks.dev for every component, prop and example.
