import React from 'react';
import RowImageTextCard from './RowImageTextCard';
import ComparisonImageCard from './ComparisonImageCard';
import ColImageTextCard from './ColImageTextCard';
import './index.less';

const CardBox = ({ className = '', children, style }) => (
  <div className={`lm-t-c-card ${className}`} style={style}>
    {children}
  </div>
);

CardBox.RowImageTextCard = RowImageTextCard;
CardBox.ComparisonImageCard = ComparisonImageCard;
CardBox.ColImageTextCard = ColImageTextCard

export default CardBox;
