@ucam/design-system
Version:
University of Cambridge Design System
17 lines (16 loc) • 687 B
TypeScript
import React from 'react';
import { DrawerProps } from '@material-ui/core';
import { SxProps } from '@material-ui/system';
import { Theme } from '@material-ui/core/styles';
declare type SidebarProps = {
/**
* Props applied to the Drawer element.
*/
drawerProps?: DrawerProps;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
} & JSX.IntrinsicElements['nav'];
declare const Sidebar: React.ForwardRefExoticComponent<Pick<SidebarProps, "drawerProps" | "sx" | "key" | keyof React.HTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;
export default Sidebar;