@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
22 lines (21 loc) • 877 B
TypeScript
import React from 'react';
import { togglesConfig } from './toggles';
import { AppLayoutActiveElement, AppLayoutProps } from './interfaces';
interface DesktopDrawerProps {
contentClassName?: string;
toggleClassName?: string;
closeClassName?: string;
width: number;
topOffset?: number;
bottomOffset?: number;
ariaLabels?: AppLayoutProps.Labels;
children: React.ReactNode;
type: keyof typeof togglesConfig;
isMobile?: boolean;
isOpen?: boolean;
activeElement: AppLayoutActiveElement | undefined;
onToggle: (isOpen: boolean) => void;
onClick?: (event: React.MouseEvent) => void;
}
export declare function Drawer({ contentClassName, toggleClassName, closeClassName, width, type, activeElement, topOffset, bottomOffset, ariaLabels, children, isOpen, isMobile, onToggle, onClick }: DesktopDrawerProps): JSX.Element;
export {};