// @flow import 'scss/component/_swipeable-drawer.scss'; // $FlowFixMe import { Global } from '@emotion/react'; import classnames from 'classnames'; import * as ICONS from 'constants/icons'; import * as React from 'react'; import Button from 'component/button'; import Portal from '@mui/base/Portal'; type Props = { label: any, icon: string, type: string, fixed?: boolean, // -- redux -- doToggleAppDrawer: (type: string) => void, }; function DrawerExpandButton(props: Props) { const { fixed, icon, type, doToggleAppDrawer, ...buttonProps } = props; return (