import React, {ReactNode} from 'react';

type SelectWrapperProps = {
    children: ReactNode[]
}


/**
 *  This is used inside the filter wrapper component when u want labels
 *  first child is the label
 *  second child is the select
 */
const SelectWrapper = ({children}: SelectWrapperProps) => {

    return (
        <div className="select-wrapper">
            {children[0]}
            <div>
                {children[1]}
            </div>
        </div>
    );
}

export default SelectWrapper;