tdesign-react
Version:
TDesign Component for React
9 lines (8 loc) • 564 B
TypeScript
import React from 'react';
import type { SinglePanelProps } from './SinglePanel';
import type { TdDatePickerProps, TdDateRangePickerProps, DateValue, DateMultipleValue } from '../type';
export interface ExtraContentProps extends Pick<SinglePanelProps, 'enableTimePicker' | 'presetsPlacement' | 'onPresetClick' | 'onConfirmClick' | 'needConfirm'> {
selectedValue?: DateValue | DateMultipleValue;
presets?: TdDatePickerProps['presets'] | TdDateRangePickerProps['presets'];
}
export default function ExtraContent(props: ExtraContentProps): React.JSX.Element;