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

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