import React, {FC} from 'react';

import {OptionProps} from 'react-select';
import {DropdownOptionStyle as S} from './dropdown-option.style';
import {components as RS} from 'react-select';

export const DropdownOptionComponent: FC<OptionProps> = (props) => {
    return (
        <S.Container isFocused={props.isFocused} isSelected={props.isSelected}>
            <RS.Option {...props}>{props.children}</RS.Option>
        </S.Container>
    );
};

// return <RS.Option {...innerProps} isFocused={isFocused} isSelected={isSelected}>{children}</RS.Option>;
