Skip to content

Commit

Permalink
Merge pull request #503 from catho/fix-hamburguer-test
Browse files Browse the repository at this point in the history
Fix hamburguer test
  • Loading branch information
rapahaeru authored Jun 6, 2023
2 parents 55eb3bd + 387a38b commit 3a14f88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/Hamburger/Hamburger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const Wrapper = styled.div`
height: 24px;
`;

const Icon = styled(BaseIcon)`
const Icon = styled(BaseIcon).withConfig({
shouldForwardProp: prop => prop !== 'inverted',
})`
color: ${props => (props.inverted ? colors.neutral[900] : colors.neutral[0])};
`;

Expand Down

0 comments on commit 3a14f88

Please sign in to comment.