import * as React from 'react';
import {FlexBlock} from '../flexBlock';

export class CardMedia extends React.PureComponent {
    render() {
        const {children} = this.props;

        return (
            <FlexBlock
                className="rc-card__media-placeholder"
                align={FlexBlock.CENTER}
                justify={FlexBlock.CENTER}
                gutterWidth={0}>
                {children}
            </FlexBlock>
        );
    }
}
