Skip to content

Commit

Permalink
updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
Eitan Elbaz committed Jun 28, 2023
1 parent fbe76e0 commit a9a51c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions playground/src/pages/CustomExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ const Prev: React.FC<PreviousStepButtonProps> = ({ goBack }) => (
</Button>
);

const Close: React.FC<CloseButtonProps> = () => (
<Box height={20} width={20} borderRadius="50%" bgcolor="red" />
const Close: React.FC<CloseButtonProps> = ({ close, PositionalWrapper }) => (
<PositionalWrapper>
<Box height={20} width={20} borderRadius="50%" bgcolor="red" onClick={() => close()} />
</PositionalWrapper>
);

const ContentOverride: React.FC = ({ children }) => (
Expand Down

0 comments on commit a9a51c9

Please sign in to comment.