index.js 274 B

12345678910111213
  1. import React from 'react';
  2. import './index.less';
  3. function Module(props) {
  4. const { style, className, children } = props;
  5. return (
  6. <div style={style} className={`module ${className}`}>
  7. {children}
  8. </div>
  9. );
  10. }
  11. Module.propTypes = {};
  12. export default Module;