ant-design/components/grid/RowContext.tsx

11 lines
226 B
TypeScript
Raw Normal View History

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