UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

21 lines (20 loc) 715 B
import React, { type ComponentProps } from "react"; import { Fixed } from "../Layout/Surfaces"; type SidepanelFooterPropsType = React.PropsWithChildren<{ className?: string; }>; type SidepanelPropsType = React.PropsWithChildren<{ isOpen: boolean; title?: string; close?: () => void; width?: ComponentProps<typeof Fixed>["width"]; withDesktopOverlay?: boolean; onPointerDownOutside?: () => void; }>; export declare const Sidepanel: { ({ isOpen, title, close, withDesktopOverlay, onPointerDownOutside, width, children, }: SidepanelPropsType): import("react/jsx-runtime").JSX.Element; displayName: string; } & { Footer: (_props: SidepanelFooterPropsType) => null; }; export {};