context.d.ts 436 B

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