mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
d052543844
* feat: Support noWrap * test: update snapshot * fix: Miss check * test: fix snapshot * refactor: rename to wrap * update snapshot
11 lines
226 B
TypeScript
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;
|