@codecademy/gamut
72.2.472.2.5-alpha.a75830.0
dist/BodyPortal/index.d.ts~
dist/BodyPortal/index.d.tsModified+3−8
Index: package/dist/BodyPortal/index.d.ts
===================================================================
--- package/dist/BodyPortal/index.d.ts
+++ package/dist/BodyPortal/index.d.ts
@@ -1,11 +1,6 @@
+import { ZIndexType } from '@codecademy/gamut-styles';
import * as React from 'react';
-interface BodyPortalProps {
- /**
- * TEMPORARY: a stopgap solution to avoid zIndex conflicts -
- * will be reworked with: GM-624
- * previously, zIndex was set to 1 in the CSS function
- */
- zIndex?: number;
+export interface BodyPortalProps {
+ zIndex?: ZIndexType;
}
export declare const BodyPortal: React.FC<React.PropsWithChildren<BodyPortalProps>>;
-export {};