ant-design/components/_util/zindexContext.ts

10 lines
228 B
TypeScript
Raw Normal View History

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