Skip to content

Commit

Permalink
Use button tag for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Pk9697 authored and Devessier committed Oct 21, 2024
1 parent eaab2d0 commit 4d710c5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ type StyledDropdownButtonProps = {
isActive?: boolean;
};

export const StyledHeaderDropdownButton = styled.div<StyledDropdownButtonProps>`
export const StyledHeaderDropdownButton = styled.button<StyledDropdownButtonProps>`
font-family: inherit;
align-items: center;
background: ${({ theme }) => theme.background.primary};
border:none;
border-radius: ${({ theme }) => theme.border.radius.sm};
color: ${({ isActive, theme, color }) =>
color ?? (isActive ? theme.color.blue : theme.font.color.secondary)};
Expand Down

0 comments on commit 4d710c5

Please sign in to comment.