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