import { type ComponentProps, For, splitProps } from "solid-js" import "./keybind-v2.css" export interface KeybindV2Props extends ComponentProps<"div"> { keys: string[] variant?: "neutral" | "ghost" } export function KeybindV2(props: KeybindV2Props) { const [local, rest] = splitProps(props, ["keys", "variant", "class", "classList"]) return (
{(key) => (
{key}
)}
) }