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