Skip to content

Commit

Permalink
fix(dropdown valuecontainer): rename modalisopen prop to isopen
Browse files Browse the repository at this point in the history
  • Loading branch information
wmangimelli committed Sep 15, 2020
1 parent c13e01c commit 89b98e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/hs-react-ui/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ const Container = styled(Div)`
`;
// TODO - Add constants for width
export const ValueContainer = styled(Button.Container)`
${({ modalIsOpen }) => `
${({ isOpen }) => `
display: flex;
justify-content: space-between;
flex-direction: row;
align-items: center;
${
modalIsOpen
isOpen
? `
border-bottom: 0px solid transparent;
border-bottom-right-radius: 0rem;
Expand Down Expand Up @@ -407,7 +407,7 @@ const Dropdown = ({
<Button
StyledContainer={StyledValueContainer}
containerProps={{
modalIsOpen: isOpen,
isOpen,
}}
id={`${name}-button-value`}
color={defaultedColor}
Expand Down

0 comments on commit 89b98e8

Please sign in to comment.