@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
26 lines (25 loc) • 696 B
text/typescript
import { ReactNode } from "react";
//#region src/base-ui/FloatingSheet/type.d.ts
interface FloatingSheetProps {
activeSnapPoint?: number;
children?: ReactNode;
className?: string;
closeThreshold?: number;
defaultOpen?: boolean;
dismissible?: boolean;
headerActions?: ReactNode;
maxHeight?: number;
minHeight?: number;
mode?: 'overlay' | 'inline';
onOpenChange?: (open: boolean) => void;
onSnapPointChange?: (snapPoint: number) => void;
open?: boolean;
restingHeight?: number;
snapPoints?: number[];
title?: ReactNode;
variant?: 'elevated' | 'embedded';
width?: number | string;
}
//#endregion
export { FloatingSheetProps };
//# sourceMappingURL=type.d.mts.map