UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

22 lines (21 loc) 977 B
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; export interface FormatRelativeTimeProps { /** * The date to format */ value: Date; /** * The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */ localeMatcher?: Intl.RelativeTimeFormatLocaleMatcher; /** * The format of output message. */ numeric?: Intl.RelativeTimeFormatNumeric; /** * The length of the internationalized message. */ style?: Intl.RelativeTimeFormatStyle; } declare const _default: DefineComponent<FormatRelativeTimeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormatRelativeTimeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; export default _default;