diff --git a/src/auto-complete-multiple.tsx b/src/auto-complete-multiple.tsx index a4ce8b8..237ebca 100644 --- a/src/auto-complete-multiple.tsx +++ b/src/auto-complete-multiple.tsx @@ -30,11 +30,18 @@ interface AktAutoCompleteMultipleProps { allSelectOption: string; } +interface OptionProps { + props: React.HTMLAttributes; + option: any; + selected: boolean; +} + const optionStyles = { display: 'flex', alignItems: 'center', width: '100%', - gap: '8px' + gap: '8px', + marginLeft: '10px' }; const AktAutoCompleteMultiple: React.FC = ({ @@ -59,12 +66,6 @@ const AktAutoCompleteMultiple: React.FC = ({ const icon = ; const checkedIcon = ; - - type OptionProps = { - props: React.HTMLAttributes; - option: any; - selected: boolean; - }; const Option = ({ props, option, selected }: OptionProps) => { return (