Skip to content

Commit

Permalink
fix(react): fix Dialog className composition issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brionmario committed Oct 22, 2024
1 parent 2434cba commit 4106661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Dialog/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Dialog: ForwardRefExoticComponent<DialogProps> = forwardRef(
<C extends ElementType = ElementType>(
{className, ...rest}: DialogProps<C>,
ref: Ref<HTMLDivElement>,
): ReactElement => <MuiDialog ref={ref} className={clsx('OxygenDialog-root')} {...rest} />,
): ReactElement => <MuiDialog ref={ref} className={clsx('OxygenDialog-root', className)} {...rest} />,
) as ForwardRefExoticComponent<DialogProps>;

export default Dialog;

0 comments on commit 4106661

Please sign in to comment.