UNPKG

@dabapps/roe

Version:

A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.

23 lines (22 loc) 725 B
import * as React from 'react'; import { OptionalComponentPropAndHTMLAttributes } from '../../types'; export declare type SideBarProps = { /** * SideBar is hidden off screen if this is falsy. */ open?: boolean; /** * Position the SideBar to the left or right of the screen. */ position: 'left' | 'right'; /** * Remove SideBar shadow */ noShadow?: boolean; /** * Callback to trigger when the user clicks outside of the `SideBar`. */ onClickOutside(event: React.MouseEvent<HTMLDivElement>): void; } & OptionalComponentPropAndHTMLAttributes; declare const _default: React.MemoExoticComponent<(props: SideBarProps) => JSX.Element>; export default _default;