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