ant-design/components/grid/RowContext.tsx
二货机器人 d6cb50b4fd
revert: "refactor: Remove duplicated less loop" (#20636)
* Revert "refactor: Remove duplicated less loop (#20590)"

This reverts commit af2d803829.

* Update package.json
2020-01-03 15:20:28 +08:00

10 lines
208 B
TypeScript

import { createContext, Context } from 'react';
export interface RowContextState {
gutter?: [number, number];
}
const RowContext: Context<RowContextState> = createContext({});
export default RowContext;