import { Dialog as Kobalte } from "@kobalte/core/dialog" import { ComponentProps, JSXElement, Match, ParentProps, Show, Switch } from "solid-js" import { IconButton } from "./icon-button" export interface DialogProps extends ParentProps { title?: JSXElement description?: JSXElement action?: JSXElement size?: "normal" | "large" class?: ComponentProps<"div">["class"] classList?: ComponentProps<"div">["classList"] fit?: boolean } export function Dialog(props: DialogProps) { return (