consistent spacing for autocomplete
This commit is contained in:
1 parent
9be77a547d
commit
f7490ffe64
1 file changed
+4
-2
@@ -52,8 +52,10 @@ export const AutoCompleteInput: React.FC<AutoCompleteInputProps> = ({
|
|||||||
const { key, ...optionProps } = props;
|
const { key, ...optionProps } = props;
|
||||||
return (
|
return (
|
||||||
<ListItem key={key} {...optionProps}>
|
<ListItem key={key} {...optionProps}>
|
||||||
{multiple && <Checkbox checked={selected} />}
|
<Stack direction={"row"} gap={theme.spacing(2)}>
|
||||||
{option.name}
|
{multiple && <Checkbox checked={selected} />}
|
||||||
|
{option.name}
|
||||||
|
</Stack>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in new issue
Block a user