Fixed #4241 - Add Content Security Policy (CSP) config

This commit is contained in:
mertsincan 2023-08-11 02:34:02 +01:00
parent 590504d137
commit c42f45455c
22 changed files with 92 additions and 21 deletions

View file

@ -5,6 +5,7 @@ export interface StyleOptions {
name?: string;
id?: string;
media?: string;
nonce?: string;
}
export declare function useStyle(
@ -15,6 +16,6 @@ export declare function useStyle(
name: string;
css: any;
unload: () => void;
load: () => void;
load: (css?: string, options?: any) => void;
isLoaded: boolean;
};