UNPKG

436 BTypeScriptView Raw
1import type { Ref, InjectionKey, ComputedRef } from 'vue';
2export interface RowContext {
3 gutter: ComputedRef<[number, number]>;
4 wrap: ComputedRef<boolean>;
5 supportFlexGap: Ref<boolean>;
6}
7export declare const RowContextKey: InjectionKey<RowContext>;
8declare const useProvideRow: (state: RowContext) => void;
9declare const useInjectRow: () => RowContext;
10export { useInjectRow, useProvideRow };
11export default useProvideRow;