ant-design/components/space/context.ts
lijianan 6a5e7ded43
refactor: remove Space & Grid IE compatible logic ()
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00

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;