@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
26 lines (25 loc) • 806 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ConfigurableProps } from '@vexip-ui/config';
export declare const timeAgoProps: {
inherit: PropType<boolean>;
locale: PropType<Partial<{
ago: string;
late: string;
justNow: string;
second: string;
minute: string;
hour: string;
yesterday: string;
days: string;
lastMonth: string;
months: string;
lastYear: string;
years: string;
}>>;
datetime: PropType<string | number | Date>;
interval: PropType<number | boolean>;
title: PropType<string | boolean>;
titleFormat: PropType<string>;
};
export type TimeAgoProps = ExtractPropTypes<typeof timeAgoProps>;
export type TimeAgoCProps = ConfigurableProps<TimeAgoProps, 'datetime'>;