Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
Add width prop to checkpicker
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffvli committed Feb 7, 2022
1 parent 563453b commit 98c4349
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/shared/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,10 @@ export const StyledTagPicker = styled(TagPicker)`
}
`;

export const StyledCheckPicker = styled(CheckPicker)`
export const StyledCheckPicker = styled(CheckPicker)<{ width?: number }>`
border: 1px #3c3f43 solid !important;
border-radius: ${(props) => props.theme.other.input.borderRadius} !important;
width: ${(props) => props.width}px;
&:hover,
&:active,
Expand Down

0 comments on commit 98c4349

Please sign in to comment.