fix(app): remove interface transition changes accidentally merged into dev (#36653)

This commit is contained in:
usrnk1
2026-07-13 10:38:30 +00:00
committed by GitHub
parent b4e49d5b32
commit 51b9c726cf
25 changed files with 95 additions and 221 deletions
+2 -5
View File
@@ -1,17 +1,14 @@
import { type ComponentProps, splitProps } from "solid-js"
import "./badge-v2.css"
export interface TagProps extends ComponentProps<"span"> {
variant?: "neutral" | "accent"
}
export interface TagProps extends ComponentProps<"span"> {}
export function Tag(props: TagProps) {
const [split, rest] = splitProps(props, ["class", "classList", "children", "variant"])
const [split, rest] = splitProps(props, ["class", "classList", "children"])
return (
<span
{...rest}
data-component="tag"
data-variant={split.variant ?? "neutral"}
classList={{
...split.classList,
[split.class ?? ""]: !!split.class,