react-toolbox-legacy
Version:
Unofficial fork of the react-toolbox package, compatible with React v16
12 lines (9 loc) • 365 B
JavaScript
import { themr } from 'react-css-themr-legacy';
import { DRAWER } from '../identifiers.js';
import { Overlay } from '../overlay';
import { drawerFactory } from './Drawer.js';
import theme from './theme.scss';
const Drawer = drawerFactory(Overlay);
const ThemedDrawer = themr(DRAWER, theme)(Drawer);
export default ThemedDrawer;
export { ThemedDrawer as Drawer };