Files
ant-design/components/_util/zindexContext.ts
2026-02-07 22:53:24 +08:00

10 lines
228 B
TypeScript

import React from 'react';
const ZIndexContext = React.createContext<number | undefined>(undefined);
if (process.env.NODE_ENV !== 'production') {
ZIndexContext.displayName = 'ZIndexContext';
}
export default ZIndexContext;