UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

24 lines (23 loc) 774 B
import React from 'react'; import { InternalLocale } from '../../shared/Context'; import { SpacingProps } from '../space/types'; import { SkeletonShow } from '../Skeleton'; type DateFormatProps = SpacingProps & { value?: Date | string | number; children?: React.ReactNode; locale?: InternalLocale; dateStyle?: Intl.DateTimeFormatOptions['dateStyle']; relativeTime?: boolean; skeleton?: SkeletonShow; className?: string; id?: string; title?: string; 'aria-label'?: string; 'aria-labelledby'?: string; 'aria-describedby'?: string; }; declare function DateFormat(props: DateFormatProps): import("react/jsx-runtime").JSX.Element; declare namespace DateFormat { var _supportsSpacingProps: boolean; } export default DateFormat;