/** * * DatePickerHeader is a component that displays a header. * * [Live Demo](https://www.primereact.org/datepicker/) * * @module DatePickerHeader * @group components * */ import type { ComponentInstance } from '@primereact/types/core'; import type { BaseComponentProps, PassThroughType } from '../..'; import type { DatePickerRootInstance } from './DatePickerRoot.types'; /** * Defines passthrough(pt) options type in DatePickerHeader component. */ export type DatePickerHeaderPassThroughType = PassThroughType; /** * Defines passthrough(pt) options of DatePickerHeader component. */ export interface DatePickerHeaderPassThrough { /** * Used to pass attributes to the root's DOM element. */ root?: DatePickerHeaderPassThroughType>; } /** * Defines valid properties in DatePickerHeader component. */ export interface DatePickerHeaderProps extends BaseComponentProps { } /** * Defines valid state in DatePickerHeader component. */ export interface DatePickerHeaderState { } /** * Defines the methods and properties exposed by DatePickerHeader component. */ export interface DatePickerHeaderExposes { /** * Instance of the DatePicker component. */ datepicker: DatePickerRootInstance | undefined | null; } /** * Instance of DatePickerHeader component. */ export type DatePickerHeaderInstance = ComponentInstance;