Skip to content

Commit

Permalink
Simplify Dialog children type (#1873)
Browse files Browse the repository at this point in the history
refactor: prevent children from being an array
  • Loading branch information
jordankoschei-okta authored Jul 13, 2023
1 parent e2d2e9e commit e53a30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/Dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type DialogProps = {
callToActionPrimaryComponent?: ReactElement<typeof Button>;
callToActionSecondaryComponent?: ReactElement<typeof Button>;
callToActionTertiaryComponent?: ReactElement<typeof Button>;
children: ReactNode | Array<ReactNode>;
children: ReactNode;
onClose: () => void;
isOpen: boolean;
title: string;
Expand Down

0 comments on commit e53a30c

Please sign in to comment.