import React from 'react' ; import CSS from './BasePanel.module.css' ; example const BasePanel = ( props ) => { return ( < div className = { CSS . root } > { props . title ? ( < div className = { CSS . header } > < h3 className = { CSS . title } > { props . title } < /h3> < /div>) : null} < div className = { CSS . body } > { props . children } < /div> < /div>); } ; export default BasePanel ;