UNPKG

geoiq-frontend-ui-kit

Version:

This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.

25 lines 1.04 kB
import { default as React } from 'react'; import { SheetContentProps } from './sheet-components'; import * as SheetPrimitive from '@radix-ui/react-dialog'; export type SheetProps = { trigger: React.ReactNode; triggerProps?: SheetPrimitive.DialogTriggerProps; content: React.ReactNode; contentProps?: SheetContentProps & SheetPrimitive.DialogContentProps; title?: React.ReactNode; titleProps?: SheetPrimitive.DialogTitleProps; description?: React.ReactNode; descriptionProps?: SheetPrimitive.DialogDescriptionProps; footer?: React.ReactNode; onOpenChange?: (open: boolean) => void; open?: boolean; onInteractOutside?: (e: any) => void; bodyProps?: React.HTMLAttributes<HTMLDivElement>; id?: string; /** * The container element for the sheet. The container should have a position relative in order to work. * give inline styles as transform: 'translateZ(0)', */ container?: Element | DocumentFragment | null | undefined; }; //# sourceMappingURL=sheet.types.d.ts.map