UNPKG

wetrade-design

Version:

一款多语言支持Vue3的UI框架

12 lines (11 loc) 436 B
import type { Ref, InjectionKey, ComputedRef } from 'vue'; export interface RowContext { gutter: ComputedRef<[number, number]>; wrap: ComputedRef<boolean>; supportFlexGap: Ref<boolean>; } export declare const RowContextKey: InjectionKey<RowContext>; declare const useProvideRow: (state: RowContext) => void; declare const useInjectRow: () => RowContext; export { useInjectRow, useProvideRow }; export default useProvideRow;