mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +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;
|