@baseplate-dev/ui-components
Version:
Shared UI component library
20 lines • 1.37 kB
TypeScript
import type * as React from 'react';
import type { ReactElement } from 'react';
import { Dialog as SheetPrimitive } from 'radix-ui';
/**
* React component that overlays a sheet on top of the current page.
*
* https://ui.shadcn.com/docs/components/sheet
*/
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): ReactElement;
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): ReactElement;
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): ReactElement;
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
side?: 'top' | 'right' | 'bottom' | 'left';
}): ReactElement;
declare function SheetHeader({ className, ...props }: React.ComponentProps<'div'>): ReactElement;
declare function SheetFooter({ className, ...props }: React.ComponentProps<'div'>): ReactElement;
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): ReactElement;
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): ReactElement;
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, };
//# sourceMappingURL=sheet.d.ts.map