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