UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

19 lines (16 loc) 662 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropertyBaseProps } from './PropertyBase.js'; import 'react'; import '../../hooks/useTranslation.js'; import '../../hooks/useLanguage.js'; type DatePropertyProps = Omit<PropertyBaseProps, 'icon' | 'input' | 'hasValue'> & { value?: Date; onChange?: (date: Date) => void; onEditComplete?: (value: Date) => void; type?: 'dateTime' | 'date'; }; /** * An Input for date properties */ declare const DateProperty: ({ value, onChange, onEditComplete, readOnly, type, ...baseProps }: DatePropertyProps) => react_jsx_runtime.JSX.Element; export { DateProperty, type DatePropertyProps };