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;
|
||||
return (
|
||||
<ListItem key={key} {...optionProps}>
|
||||
{multiple && <Checkbox checked={selected} />}
|
||||
{option.name}
|
||||
<Stack direction={"row"} gap={theme.spacing(2)}>
|
||||
{multiple && <Checkbox checked={selected} />}
|
||||
{option.name}
|
||||
</Stack>
|
||||
</ListItem>
|
||||
);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user