@nipe-solutions/react-spring-bottom-sheet
Version:
Accessible and composable bottom sheets for React
29 lines (28 loc) • 1.75 kB
TypeScript
import { Root } from './Root.js';
export declare const Sheet: {
readonly Root: typeof Root;
readonly Trigger: import("react").ForwardRefExoticComponent<import("./Trigger.js").SheetTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
readonly Portal: typeof Portal;
readonly Backdrop: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
readonly Viewport: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
readonly Content: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
readonly Handle: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLDivElement>>;
readonly Title: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLHeadingElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLHeadingElement>>;
readonly Description: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLParagraphElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLParagraphElement>>;
readonly Close: import("react").ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
asChild?: boolean;
} & import("react").RefAttributes<HTMLButtonElement>>;
};
import { Portal } from './Portal.js';