import { use } from '../utils'; import Cell from '../cell'; import CellGroup from '../cell-group'; const [sfc, bem] = use('panel'); function Panel(h, props, slots, ctx) { return ( {slots.header ? ( slots.header() ) : ( )}
{slots.default && slots.default()}
{slots.footer && (
{slots.footer()}
)}
); } Panel.props = { icon: String, desc: String, title: String, status: String }; export default sfc(Panel);