1
0

index.js 329 B

123456789101112131415
  1. import React from 'react';
  2. import './index.less';
  3. import Module from '../Module';
  4. function Card(props) {
  5. const { style, children, title } = props;
  6. return (
  7. <Module style={style} className="card">
  8. <div className="header">{title}</div>
  9. {children}
  10. </Module>
  11. );
  12. }
  13. Card.propTypes = {};
  14. export default Card;