ant-design/components/grid/RowContext.tsx

12 lines
254 B
TypeScript
Raw Normal View History

import { createContext, Context } from 'react';
export interface RowContextState {
gutter?: [number, number];
wrap?: boolean;
supportFlexGap?: boolean;
}
2018-12-07 16:17:45 +08:00
const RowContext: Context<RowContextState> = createContext({});
export default RowContext;