import React from 'react'; import PropTypes from 'prop-types'; import styles from './ConfigureCard.css'; import { Card } from 'coral-ui'; import { Checkbox } from 'react-mdl'; import cn from 'classnames'; const ConfigureCard = ({ title, children, className, onCheckbox, checked, ...rest }) => ( {checked !== undefined && (
)}
{title}
{children}
); ConfigureCard.propTypes = { title: PropTypes.string, className: PropTypes.string, onCheckbox: PropTypes.func, checked: PropTypes.bool, children: PropTypes.node, }; export default ConfigureCard;