Skip to content

Commit

Permalink
fix(modal): added optional maxWidth prop
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-oxopia committed Jun 26, 2023
1 parent e1cd35e commit 816ecce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Modal: React.FC<Props> & { Footer: typeof Footer } = ({
onEscKeyDown,
className,
children,
maxWidth,
maxWidth, // added optional maxWidth prop
}: Props) => {
const modalRef = React.useRef<HTMLDivElement>(null);

Expand Down

0 comments on commit 816ecce

Please sign in to comment.