ant-design/components/grid/RowContext.tsx
Wei Zhu ca7d265b2b Refactor Grid with new context API (#12320)
* Refactor Grid with new context API

* Update snapshots of List
2018-09-21 19:30:39 +08:00

10 lines
214 B
TypeScript

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