UNPKG

@bottledbrains/ui

Version:

A React UI library based on Tailwind CSS

13 lines (12 loc) 429 B
import { FC } from 'react'; import { CommonControlProps } from '../../types'; import { Dayjs } from 'dayjs'; export interface DateTimePickerProps extends CommonControlProps { mode?: 'year' | 'month' | 'date' | 'datetime'; format?: string; placeholder?: string; value?: Dayjs | undefined; onChange?: (val: Dayjs) => void; } declare const DateTimePicker: FC<DateTimePickerProps>; export default DateTimePicker;