vuecssuiant-designantdreactantantd-vueenterprisefrontendui-designvue-antdvue-antd-uivue3vuecomponent
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
392 B
12 lines
392 B
import type { Ref, InjectionKey } from 'vue'; |
|
|
|
export type SiderCollapsed = Ref<boolean>; |
|
|
|
export const SiderCollapsedKey: InjectionKey<SiderCollapsed> = Symbol('siderCollapsed'); |
|
|
|
export interface SiderHookProvider { |
|
addSider?: (id: string) => void; |
|
removeSider?: (id: string) => void; |
|
} |
|
|
|
export const SiderHookProviderKey: InjectionKey<SiderHookProvider> = Symbol('siderHookProvider');
|
|
|