9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
|
import type { InjectionKey, Ref } from 'vue';
|
||
|
|
||
|
export interface ListContext {
|
||
|
grid?: Ref<any>;
|
||
|
itemLayout?: Ref<string>;
|
||
|
}
|
||
|
|
||
|
export const ListContextKey: InjectionKey<ListContext> = Symbol('ListContextKey');
|