Skip to content

Commit

Permalink
feat: add secondary props
Browse files Browse the repository at this point in the history
  • Loading branch information
agnezi committed Feb 16, 2024
1 parent a44cdb2 commit 7e1cd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yoga/src/Heading/web/RightButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ButtonIcon = styled(Button.Icon)`
`;

const RightButton = ({ onClick, icon, ...props }) => (
<ButtonIcon {...props} icon={icon} inverted onClick={onClick} />
<ButtonIcon icon={icon} secondary inverted onClick={onClick} {...props} />
);

RightButton.propTypes = {
Expand Down

0 comments on commit 7e1cd54

Please sign in to comment.