Home > @uniformdev/design-system > DateTimePickerProps

DateTimePickerProps type

Signature:

type DateTimePickerProps = {
    id: string;
    label?: ReactNode;
    triggerIcon?: IconType$2;
    value: DateTimePickerValue | null | undefined;
    minVisible?: IsoDateTimeString;
    maxVisible?: IsoDateTimeString;
    onChange?: (value: DateTimePickerValue) => void;
    variant?: DateTimePickerVariant;
    placeholder?: ReactNode;
    belowTimeInputSlot?: ReactNode;
    caption?: string | JSX.Element;
    showLabel?: boolean;
    errorMessage?: string;
    warningMessage?: string;
    disabled?: boolean;
    testId?: string;
    placement?: PopoverStoreState['placement'];
    offset?: number;
};

References: DateTimePickerValue, DateTimePickerVariant