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