Skip to content

Commit

Permalink
Add Missing Prop in Viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthiago committed Sep 7, 2022
1 parent 5f634ad commit b73f9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ReactImageCarouselViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import Modal from "./Modal";
import "../styles/tailwind.css";

export const ReactImageCarouselViewer = (props: ImageViewerProps) => {
const { open, onClose, images, startIndex } = props;
const { open, onClose, images, startIndex, extraTopElement } = props;
return (
<Modal open={open} onClose={onClose}>
<Modal open={open} onClose={onClose} extraTopElement={extraTopElement}>
<Carousel images={images} startIndex={startIndex} />
</Modal>
);
Expand Down

0 comments on commit b73f9f9

Please sign in to comment.