UNPKG

@hhgtech/hhg-components

Version:
11 lines (10 loc) 517 B
import React from 'react'; import { DatePickerType, DatePickerInputProps as MantineDatePickerInputProps } from '@mantine/dates'; export type SharedType = { isRange?: boolean; isMB?: boolean; fullWidth?: boolean; }; export type DatePickerProps<T extends DatePickerType = 'default'> = SharedType & MantineDatePickerInputProps<T>; declare const DatePicker: <Type extends DatePickerType = "default">({ value, fullWidth, ...rest }: DatePickerProps<Type>) => React.JSX.Element; export { DatePicker };