primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
22 lines (19 loc) • 451 B
TypeScript
export interface StyleOptions {
document?: HTMLElement;
immediate?: boolean;
manual?: boolean;
name?: string;
id?: string;
media?: string;
nonce?: string;
props?: any;
}
export interface Style {
id: string;
name: string;
css: any;
unload: () => void;
load: (css?: string, props?: any) => void;
isLoaded: boolean;
}
export declare function useStyle(css: string, options?: StyleOptions): Style;