@drivy/cobalt
Version:
Opinionated design system for Drivy's projects.
20 lines (19 loc) • 627 B
TypeScript
import React, { 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;
}>;
export declare const Sidepanel: {
({ isOpen, title, close, withDesktopOverlay, width, children, }: SidepanelPropsType): React.JSX.Element;
displayName: string;
} & {
Footer: (_props: SidepanelFooterPropsType) => null;
};
export {};