UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

11 lines (10 loc) 296 B
import { Ref } from 'vue'; declare const Theme: { Dark: "dark"; Light: "light"; }; export declare const useTheme: (callback?: (() => void) | undefined) => { theme: Ref<"dark" | "light", "dark" | "light">; setTheme: (value: typeof Theme[keyof typeof Theme]) => void; }; export {};