mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
6a5e7ded43
* refactor: remove IE compatible logic * fix: fix * fix: fix * fix: fix
12 lines
240 B
TypeScript
12 lines
240 B
TypeScript
import React from 'react';
|
|
|
|
export interface SpaceContextType {
|
|
latestIndex: number;
|
|
}
|
|
|
|
export const SpaceContext = React.createContext<SpaceContextType>({
|
|
latestIndex: 0,
|
|
});
|
|
|
|
export const SpaceContextProvider = SpaceContext.Provider;
|