ant-design/components/grid/RowContext.tsx
二货机器人 d052543844
feat: Row support wrap (#27469)
* feat: Support noWrap

* test: update snapshot

* fix: Miss check

* test: fix snapshot

* refactor: rename to wrap

* update snapshot
2020-10-30 22:13:23 +08:00

11 lines
226 B
TypeScript

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