@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
31 lines (30 loc) • 1.87 kB
TypeScript
import type { PropsWithChildren } from "react";
import { DialogRoot } from "./root.js";
import { DialogTrigger } from "./trigger.js";
import { DialogArrow } from "./arrow.js";
import { DialogClose } from "./close.js";
import { DialogContainer } from "./container.js";
import { DialogDescription } from "./description.js";
import { DialogTitle } from "./title.js";
import { useDialog } from "./use-dialog.js";
export declare const Dialog: {
(props: PropsWithChildren<DialogRoot.Props>): import("react/jsx-runtime").JSX.Element;
Trigger: import("react").ForwardRefExoticComponent<Omit<DialogTrigger.Props, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
Arrow: import("react").ForwardRefExoticComponent<Omit<DialogArrow.Props, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
Close: import("react").ForwardRefExoticComponent<Omit<DialogClose.Props, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
Container: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & import("react").RefAttributes<HTMLDialogElement>>;
Description: import("react").ForwardRefExoticComponent<Omit<DialogDescription.Props, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
Title: import("react").ForwardRefExoticComponent<Omit<DialogTitle.Props, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
useControls: typeof useDialog;
};
export declare namespace Dialog {
type Props = DialogRoot.Props;
namespace Component {
type Trigger = DialogTrigger.Props;
type Arrow = DialogArrow.Props;
type Close = DialogClose.Props;
type Container = DialogContainer.Props;
type Description = DialogDescription.Props;
type Title = DialogTitle.Props;
}
}