import { Button as KobalteButton } from "@kobalte/core/button" import { splitProps } from "solid-js" import type { ComponentProps, JSX } from "solid-js" export interface IconButtonProps extends ComponentProps { variant?: "primary" | "secondary" | "outline" | "ghost" size?: "xs" | "sm" | "md" | "lg" children: JSX.Element } export function IconButton(props: IconButtonProps) { const [local, others] = splitProps(props, ["variant", "size", "class", "classList"]) return ( ) }