UNPKG

@starter-ui/core

Version:

This is a UI Components built with the utility classes from Tailwind CSS.

17 lines (16 loc) 646 B
import { PropsWithChildren, ReactNode } from 'react'; export interface Props { id: string; show: boolean; title?: ReactNode | string; placement?: 'right' | 'left'; showBackdrop?: boolean; contentClassName?: string; backdropClassName?: string; headerClassName?: string; className?: string; onHide: () => void; onClickOutside?: () => void; } declare const Drawer: ({ id, show, title, placement, showBackdrop, contentClassName, backdropClassName, headerClassName, className, children, onHide, onClickOutside, }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element; export default Drawer;