All files / src/components/PageCard/Content index.jsx

50% Statements 2/4
100% Branches 0/0
0% Functions 0/1
50% Lines 2/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22              2x               2x            
import styles from './style.postcss';
 
import React from 'react';
import pure from 'recompose/pure';
import classnames from 'classnames';
import PropTypes from 'prop-types';
 
const PageCardContent = (props) => {
  const { className } = props;
 
  return <div className={classnames(styles.PageCardContent, className)}>
    {props.children}
  </div>;
};
 
PageCardContent.propTypes = {
  className: PropTypes.string,
  children: PropTypes.node,
};
 
export default pure(PageCardContent);