mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-06 02:15:35 +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;
|