// @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 (
);
}
type WrapperProps = {
fixed?: boolean,
children: any,
};
const Wrapper = (props: WrapperProps) => {
const { fixed, children } = props;
return fixed ? {children} : children;
};
export default DrawerExpandButton;