UNPKG

@daks.dev/svelte.sdk

Version:
14 lines (13 loc) 501 B
import type { HTMLTimeAttributes } from 'svelte/elements'; type Props = Omit<HTMLTimeAttributes, 'class'> & { class?: ClassName; parse: string; date: string | Date; locale?: 'en-US' | 'ru-RU'; year?: 'numeric' | '2-digit'; month?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow'; day?: 'numeric' | '2-digit'; }; declare const FormattedDate: import("svelte").Component<Props, {}, "">; type FormattedDate = ReturnType<typeof FormattedDate>; export default FormattedDate;