import * as React from 'react' ; import { classes } from '../../helpers' ; import { cardMediaStyle } from './style' ; export const CardMedia = ( props ) => { const css = cardMediaStyle ( props ) ; const { className , image : __image , height : __height , ... rest } = props ; return ( < div className = { classes ( className , css , 'sha-el-card-media' ) } { ... rest } > { props . children } < /div>); } ; export interface CardMediaProps extends React . DetailedHTMLProps < React . HTMLAttributes < HTMLDivElement > , HTMLDivElement > { image ? : string ; height ? : string ; }