UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

48 lines (47 loc) 1.38 kB
import React from 'react'; import { DrawerProps } from '@mui/material'; import { CreateLiveStreamButtonProps } from '../CreateLiveStreamButton'; export interface NavigationMenuDrawerProps extends DrawerProps { /** * Hide drawer header * @default true */ showDrawerHeader?: boolean; /** * Custom Drawer header content * @default null */ drawerHeaderContent?: React.ReactNode; /** * Custom Drawer content * @default null */ drawerContent?: React.ReactNode; /** * Hide drawer footer * @default true */ showDrawerFooter?: boolean; /** * Custom Drawer footer content * @default null */ drawerFooterContent?: React.ReactNode; /** * Props to spread to ScrollContainer component * This lib use 'react-custom-scrollbars' component to perform scrollbars * For more info: https://github.com/malte-wessel/react-custom-scrollbars/blob/master/docs/API.md * @default {} */ ScrollContainerProps?: Record<string, any>; /** * Props to spread to CreateLiveStreamButton component * @default {} */ CreateLiveStreamButtonComponentProps?: CreateLiveStreamButtonProps; /** * Any other properties */ [p: string]: any; } export default function NavigationMenuDrawer(inProps: NavigationMenuDrawerProps): JSX.Element;