Preparing more simple components

This commit is contained in:
2026-04-20 16:30:30 +02:00
parent 82fc96fac4
commit 6fc32614b1
41 changed files with 1282 additions and 21 deletions

11
src/base/Badge.js Normal file
View File

@@ -0,0 +1,11 @@
// components/Badge.js
import { Tag } from "sigpro";
export const Badge = (props, children) => {
const { class: className, ...rest } = props;
return Tag("span", {
...rest,
class: className || undefined
}, children);
};