Refactor #4530 - Add d.ts files

This commit is contained in:
mertsincan 2023-10-02 14:15:41 +01:00
parent dc2913e887
commit 3d1d31ca53
199 changed files with 506 additions and 104 deletions

View file

@ -9,14 +9,13 @@ export interface StyleOptions {
props?: any;
}
export declare function useStyle(
css: string,
options?: StyleOptions
): {
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;