@variantjs/vue
Version:
Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS
14 lines (13 loc) • 593 B
TypeScript
import { Data, InputOptions } from '@variantjs/core';
declare type Truthy = boolean | string;
declare type IconProp = Element | string | (Data & {
render?: Function;
});
declare type FetchedOptions = Promise<{
results: InputOptions;
hasMorePages?: boolean;
}>;
declare type FetchOptionsFn = (query?: string, nextPage?: number) => FetchedOptions;
declare type PreFetchOptionsFn = (currentValue?: any) => Promise<InputOptions>;
declare type PromiseRejectFn = ((reason?: any) => void);
export { Truthy, IconProp, FetchOptionsFn, FetchedOptions, PromiseRejectFn, PreFetchOptionsFn, };