ant-design/components/grid/RowContext.tsx
Tom Xu 1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00

13 lines
283 B
TypeScript

import type { Context } from 'react';
import { createContext } from 'react';
export interface RowContextState {
gutter?: [number, number];
wrap?: boolean;
supportFlexGap?: boolean;
}
const RowContext: Context<RowContextState> = createContext({});
export default RowContext;