fix build issue

This commit is contained in:
Abhinav 2023-03-29 19:39:33 +05:30
parent 7b2e3ad4ae
commit 28cd4e348d

View file

@ -24,7 +24,7 @@ interface Iprops<T> {
placeholder?: string;
}
export default function DropdownInput<T>({
export default function DropdownInput<T extends string>({
label,
labelProps,
options,
@ -85,7 +85,7 @@ export default function DropdownInput<T>({
<MenuItem
key={option.label}
divider={index !== options.length - 1}
value={option.value as string}
value={option.value}
sx={{
px: '16px',
py: '14px',