@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
10 lines (9 loc) • 404 B
TypeScript
import type { ValueStringProps as StringValueProps } from '../String';
import type { AnyLocale } from '../../../../shared/Context';
export type ValueDateProps = StringValueProps & {
variant?: 'long' | 'short' | 'numeric';
locale?: AnyLocale;
dateFormat?: string;
};
declare function DateComponent(props: ValueDateProps): import("react/jsx-runtime").JSX.Element;
export default DateComponent;