mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 07:39:10 +08:00
11 lines
225 B
TypeScript
11 lines
225 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
export const SpaceContext = React.createContext({
|
||
|
latestIndex: 0,
|
||
|
horizontalSize: 0,
|
||
|
verticalSize: 0,
|
||
|
supportFlexGap: false,
|
||
|
});
|
||
|
|
||
|
export const SpaceContextProvider = SpaceContext.Provider;
|