From f5d567ea5095a36b9004d03e201a0c3582a027d3 Mon Sep 17 00:00:00 2001 From: Tasso Evangelista Date: Thu, 18 Jun 2020 13:18:05 -0300 Subject: [PATCH] fix: Export useModalStack hook (#242) --- packages/fuselage/src/components/Modal/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fuselage/src/components/Modal/index.js b/packages/fuselage/src/components/Modal/index.js index 808c0550e7..a5ad9cd3ce 100644 --- a/packages/fuselage/src/components/Modal/index.js +++ b/packages/fuselage/src/components/Modal/index.js @@ -5,7 +5,7 @@ import { Box, Flex, Margins, Scrollable } from '../Box'; import { Button } from '../Button'; import { Icon } from '../Icon'; import { Tile } from '../Tile'; -import { ModalBackdrop, ModalContainer, ModalPortal, ModalStack } from './Stack'; +import { ModalBackdrop, ModalContainer, ModalPortal, ModalStack, useModalStack } from './Stack'; export const Modal = React.forwardRef(({ children, ...props }, ref) => @@ -73,6 +73,7 @@ export { ModalContainer, ModalPortal, ModalStack, + useModalStack, }; Modal.Header = ModalHeader;