import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps, NativeButtonProps } from "../../internals/types.js"; export type DialogCloseState = {}; export interface DialogCloseProps extends NativeButtonProps, BaseUIComponentProps<"button", DialogCloseState> { /** * Tag/component to render. Defaults to `"button"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; } /** * A button that closes the dialog. Renders a `