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