mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
6aaa7be029
* fix: SSR not break Grid * test: Add hydrate test * fix lint
12 lines
254 B
TypeScript
12 lines
254 B
TypeScript
import { createContext, Context } from 'react';
|
|
|
|
export interface RowContextState {
|
|
gutter?: [number, number];
|
|
wrap?: boolean;
|
|
supportFlexGap?: boolean;
|
|
}
|
|
|
|
const RowContext: Context<RowContextState> = createContext({});
|
|
|
|
export default RowContext;
|