baked-recipe-admin
Version:
Baked is an opinionated framework for .NET in backend and Nuxt in frontend. This is a recipe package that brings together all the components one needs for an Admin UI.
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;