import React , { ChangeEvent } from 'react' ; import { Container } from './SelectStyle' ; interface Props { name ? : string ; defaultValue ? : any ; value ? : any ; onChange ? ( e ) : void ; children : React . ReactNode ; } const Select = ( { children , ... props } ) => ( < Container { ... props } > { children } < /Container>); export default Select ;