10 lines
228 B
TypeScript
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;
|