mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5500
This commit is contained in:
parent
feaa8dd8a9
commit
ce0c85fe0d
1 changed files with 0 additions and 5 deletions
5
components/lib/config/PrimeVue.d.ts
vendored
5
components/lib/config/PrimeVue.d.ts
vendored
|
@ -343,11 +343,8 @@ export interface PrimeVueLocaleOptions {
|
|||
aria?: PrimeVueLocaleAriaOptions;
|
||||
}
|
||||
|
||||
export type PrimeVueChangeTheme = (currentTheme: string, newTheme: string, linkElementId: string, callback?: Function) => void;
|
||||
|
||||
export declare function usePrimeVue(): {
|
||||
config: PrimeVueConfiguration;
|
||||
changeTheme: PrimeVueChangeTheme;
|
||||
};
|
||||
|
||||
declare const plugin: Plugin;
|
||||
|
@ -357,7 +354,6 @@ declare module 'vue/types/vue' {
|
|||
interface Vue {
|
||||
$primevue: {
|
||||
config: PrimeVueConfiguration;
|
||||
changeTheme: PrimeVueChangeTheme;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -366,7 +362,6 @@ declare module '@vue/runtime-core' {
|
|||
interface ComponentCustomProperties {
|
||||
$primevue: {
|
||||
config: PrimeVueConfiguration;
|
||||
changeTheme: PrimeVueChangeTheme;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue