Skip to content

Commit

Permalink
fix: Remove 'Select all that apply' element from combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed May 17, 2024
1 parent 657bcf0 commit 7c9323f
Showing 1 changed file with 8 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,26 +176,14 @@ const PopupIcon = <ArrowIcon sx={{ color: "primary.main" }} fontSize="large" />;
*/
const ListboxComponent = forwardRef<typeof Box, PropsWithChildren>(
({ children, ...props }, ref) => (
<>
<Box>
<ListHeader>
<Typography variant="h4" component="h3" pr={3}>
Select all that apply
</Typography>
<Button variant="contained" color="prompt" aria-label="Close list">
Done
</Button>
</ListHeader>
</Box>
<Box
ref={ref}
{...props}
role="listbox"
sx={{ paddingY: "0px !important" }}
>
{children}
</Box>
</>
<Box
ref={ref}
{...props}
role="listbox"
sx={{ paddingY: "0px !important" }}
>
{children}
</Box>
),
);

Expand Down

0 comments on commit 7c9323f

Please sign in to comment.