import React, {FC} from 'react';

import {MenuProps} from 'react-select';
import {DropdownMenuStyle as S} from './dropdown-menu.style';
import {components as RS} from 'react-select';

export const DropdownMenuComponent: FC<MenuProps> = ({children, ...rest}) => {
    return (
        <S.Container>
            <RS.Menu {...rest}>{children}</RS.Menu>
        </S.Container>
    );
};
