Skip to content

Commit f5d567e

Browse files
authored
fix: Export useModalStack hook (#242)
1 parent 3b655a4 commit f5d567e

File tree

1 file changed

+2
-1
lines changed
  • packages/fuselage/src/components/Modal

1 file changed

+2
-1
lines changed

packages/fuselage/src/components/Modal/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Box, Flex, Margins, Scrollable } from '../Box';
55
import { Button } from '../Button';
66
import { Icon } from '../Icon';
77
import { Tile } from '../Tile';
8-
import { ModalBackdrop, ModalContainer, ModalPortal, ModalStack } from './Stack';
8+
import { ModalBackdrop, ModalContainer, ModalPortal, ModalStack, useModalStack } from './Stack';
99

1010
export const Modal = React.forwardRef(({ children, ...props }, ref) =>
1111
<Flex.Container>
@@ -73,6 +73,7 @@ export {
7373
ModalContainer,
7474
ModalPortal,
7575
ModalStack,
76+
useModalStack,
7677
};
7778

7879
Modal.Header = ModalHeader;

0 commit comments

Comments
 (0)