mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 13:37:52 +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;
|