import { Badge, BadgeProps } from "@components/ui/Badge"; import { sandboxPage } from "."; const page = sandboxPage(function BadgePage() { const list: BadgeProps[] = [ // { variant: "success" }, { variant: "gray" }, { variant: "success" }, ]; return ( <>
{JSON.stringify(
props,
(key, value) => {
if (key.includes("Icon")) {
return "..";
}
return value;
},
2
)}