/** * * DatePickerButtonbar is a component that displays a buttonbar. * * [Live Demo](https://www.primereact.org/datepicker/) * * @module DatePickerButtonbar * @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 DatePickerButtonbar component. */ export type DatePickerButtonbarPassThroughType = PassThroughType; /** * Defines passthrough(pt) options of DatePickerButtonbar component. */ export interface DatePickerButtonbarPassThrough { /** * Used to pass attributes to the root's DOM element. */ root?: DatePickerButtonbarPassThroughType>; } /** * Defines valid properties in DatePickerButtonbar component. */ export interface DatePickerButtonbarProps extends BaseComponentProps { } /** * Defines valid state in DatePickerButtonbar component. */ export interface DatePickerButtonbarState { } /** * Defines the methods and properties exposed by DatePickerButtonbar component. */ export interface DatePickerButtonbarExposes { /** * Instance of the DatePicker component. */ datepicker: DatePickerRootInstance | undefined | null; } /** * Instance of DatePickerButtonbar component. */ export type DatePickerButtonbarInstance = ComponentInstance;