UNPKG

tdesign-react

Version:
12 lines (11 loc) 665 B
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']; onTimeModeChange?: () => void; isDateRangeContent?: boolean; isSwitchTimeMode?: boolean; } export default function ExtraContent(props: ExtraContentProps): React.JSX.Element;