UNPKG

y-design-ssr

Version:

SSR component library of YUI with Vue3

25 lines (24 loc) 717 B
import { ComponentPublicInstance } from 'vue'; import { LoadingPropsType } from './loading'; /** * @description: 创建实例并塞入自定义props和slots */ export declare const initInstance: (customProps: Partial<LoadingPropsType>, customSlots?: Record<string, unknown>) => ComponentPublicInstance; /** * @description: createLoading对象 */ declare const createLoading: { /** * @description: show * @param {LoadingPropsType} options * @return {*} */ show: (customProps?: Partial<LoadingPropsType>, customSlots?: Record<string, unknown>) => void; /** * @description: hide * @param {*} * @return {*} */ hide: () => void; }; export default createLoading;