vuestic-ui
Version:
Vue 3 UI Framework
16 lines (15 loc) • 472 B
TypeScript
export type LoadingProps = {
loading: boolean;
};
/**
* You could add these props to any component by destructuring them inside props option.
* @example
* props: { ...useLoadingProps, componentsOwnProp, etc. }
* It's better to add props at the beginning, to make sure that Component own props will be used instead in case of collision
*/
export declare const useLoadingProps: {
loading: {
type: BooleanConstructor;
default: boolean;
};
};