Skip to content

Commit

Permalink
fix(side-panel): Filter out invalid DOM prop
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBoll committed Dec 18, 2024
1 parent 359d262 commit 10adc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/react/side-panel/lib/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const ChildrenContainer = styled('div')<Pick<SidePanelProps, 'openWidth' | 'open
})
);

const ToggleButton = styled(TertiaryButton)<
const ToggleButton = styled(TertiaryButton, {shouldForwardProp: prop => prop !== 'openDirection'})<
TertiaryButtonProps & Pick<SidePanelProps, 'openDirection'>
>(
{
Expand Down

0 comments on commit 10adc48

Please sign in to comment.