mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4530 - Add d.ts files
This commit is contained in:
parent
dc2913e887
commit
3d1d31ca53
199 changed files with 506 additions and 104 deletions
9
components/lib/usestyle/UseStyle.d.ts
vendored
9
components/lib/usestyle/UseStyle.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue