mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
1719748a29
* chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx
13 lines
283 B
TypeScript
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;
|