import classNames from 'classnames'; import { Content } from './Elements'; const SettingsCard = ( { id, className, title, description, children, contentContainer = true, } ) => { const cardClassNames = classNames( 'ppcp-r-settings-card', className ); const cardProps = { className: cardClassNames, id, }; return (
{ title }
{ description }
{ children }
); }; export default SettingsCard; const InnerContent = ( { showCards, children } ) => { if ( showCards ) { return { children }; } return children; };