UNPKG

@atlaskit/datetime-picker

Version:

A date time picker allows the user to select an associated date and time.

20 lines (19 loc) 888 B
import type { DropdownIndicatorProps, OptionType } from '@atlaskit/select/types'; import { type DatePickerBaseProps, type DateTimePickerSelectProps } from '../types'; export type DatePickerProps = DatePickerBaseProps & { icon?: React.ComponentType<DropdownIndicatorProps<OptionType>>; selectProps?: DateTimePickerSelectProps & { inputValue?: string; }; }; /** * __Date picker__ * * A date picker allows the user to select a particular date. * * - [Examples](https://atlassian.design/components/datetime-picker/date-picker/examples) * - [Code](https://atlassian.design/components/datetime-picker/date-picker/code) * - [Usage](https://atlassian.design/components/datetime-picker/date-picker/usage) */ declare const DatePicker: React.ForwardRefExoticComponent<React.PropsWithoutRef<DatePickerProps> & React.RefAttributes<HTMLElement>>; export default DatePicker;