mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-09 21:09:19 +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;
|