@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
12 lines • 482 B
TypeScript
export interface DateDisplayProps {
date?: string | Date | null;
format?: 'short' | 'long' | 'medium' | 'numeric';
fallback?: string;
label?: string;
showLabel?: boolean;
className?: string;
locale?: string;
minValidYear?: number;
}
export default function DateDisplay({ date, format, fallback, label, showLabel, className, locale, minValidYear, }: DateDisplayProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=DateDisplay.d.ts.map