Skip to content

Commit

Permalink
fix: Export useModalStack hook (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jun 18, 2020
1 parent 3b655a4 commit f5d567e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fuselage/src/components/Modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
<Flex.Container>
Expand Down Expand Up @@ -73,6 +73,7 @@ export {
ModalContainer,
ModalPortal,
ModalStack,
useModalStack,
};

Modal.Header = ModalHeader;
Expand Down

0 comments on commit f5d567e

Please sign in to comment.