@helpwave/hightide
Version:
helpwave's component and theming library
19 lines (16 loc) • 665 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropertyBaseProps } from './PropertyBase.mjs';
import 'react';
import '../../hooks/useTranslation.mjs';
import '../../hooks/useLanguage.mjs';
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 };