feat: pass sx prop

This commit is contained in:
karishmas6
2024-09-12 23:00:36 +05:30
parent 61f93ade46
commit b611bdefc5

View File

@@ -14,7 +14,7 @@ interface DropdownProps {
export const Dropdown = ({ id, label, value, handleSelect, children, sx }: DropdownProps) => {
return (
<FormControl sx={{ minWidth: 120 }} size="small">
<FormControl sx={sx} size="small">
<InputLabel id={id}>{label}</InputLabel>
<Select
labelId={id}