"use client"; import React from "react"; import { Badge } from "@/subframe/components/Badge"; function BadgeExample() { return ( <Badge variant="brand" icon={null} iconRight={null}> Badge </Badge> ); } export default BadgeExample;
variant
"brand" | "neutral" | "error" | "warning" | "success"
"brand"
icon
IconName
null
children
string
"Badge"
iconRight
<div>
onClick
className
View code