import type { FunctionComponent } from 'react' ; import type { Props } from './CardMediaStyle' ; import CardMediaStyle , { CardMediaWrapperStyle } from './CardMediaStyle' ; const CardMedia = ( { children , ... otherProps } ) => ( < CardMediaWrapperStyle { ... otherProps } > < CardMediaStyle > { children } < /CardMediaStyle> < /CardMediaWrapperStyle>); export default CardMedia ;