mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 14:44:47 +08:00
ca7d265b2b
* Refactor Grid with new context API * Update snapshots of List
10 lines
214 B
TypeScript
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;
|