import { type ComponentProps, splitProps } from "solid-js" import "./badge-v2.css" export interface TagProps extends ComponentProps<"span"> { variant?: "neutral" | "accent" } export function Tag(props: TagProps) { const [split, rest] = splitProps(props, ["class", "classList", "children", "variant"]) return ( {split.children} ) }