UNPKG

various-ui

Version:

This is a test version of the Vue 3 component library

25 lines (24 loc) 579 B
/// <reference types="node" /> import { type UiTypes } from "@various/constants"; export type UiLoadingShowOption = { icon?: string; unit?: UiTypes.styleUnit; delay?: number; message?: string; }; export type UiLoadingHandles = { timer?: NodeJS.Timeout; delay: boolean; spacing: { x: string; y: string; }; overflow: string; open: (config?: UiLoadingShowOption) => void; close: (config?: { delay?: number; }) => void; }; declare const $loading: UiLoadingHandles; export { $loading }; export default $loading;