@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
75 lines (74 loc) • 2.1 kB
TypeScript
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
import { NeonSplashLoaderSize } from '@/common/enums/NeonSplashLoaderSize';
/**
* Use <strong>NeonSplashLoader</strong> to indicate loading progress to the user. This can be used fullscreen for the
* initial site loading as well as when UPDATING data, e.g. refreshing table data. For initial data loading please see
* <a href="/feedback/skeleton-loader">NeonSkeletonLoader</a>.
*/
declare const _default: import("vue").DefineComponent<{
/**
* Color of the loading icon
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
/**
* Loading icon size
*/
size: {
type: () => NeonSplashLoaderSize;
default: NeonSplashLoaderSize;
};
/**
* Display the overlay over the page
*/
overlay: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display fullscreen (position: fixed)
*/
fullscreen: {
type: BooleanConstructor;
default: boolean;
};
}, {
ready: import("vue").Ref<boolean>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Color of the loading icon
*/
color: {
type: () => NeonFunctionalColor;
default: NeonFunctionalColor;
};
/**
* Loading icon size
*/
size: {
type: () => NeonSplashLoaderSize;
default: NeonSplashLoaderSize;
};
/**
* Display the overlay over the page
*/
overlay: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display fullscreen (position: fixed)
*/
fullscreen: {
type: BooleanConstructor;
default: boolean;
};
}>>, {
size: NeonSplashLoaderSize;
color: NeonFunctionalColor;
overlay: boolean;
fullscreen: boolean;
}, {}>;
export default _default;