mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +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;
|