import { h } from '/static/admin2/vendor/preact.module.js'; import htm from '/static/admin2/vendor/htm.module.js'; const html = htm.bind(h); export const Card = ({ title, value, note, children, badge }) => html`

${title}

${badge && html`${badge}`}
${value != null && html`
${value}
`} ${note && html`

${note}

`} ${children}
`;