react-toolbox/components/drawer/index.js

12 lines
357 B
JavaScript

import { themr } from 'react-css-themr';
import { DRAWER } from '../identifiers.js';
import { Overlay } from '../overlay';
import { drawerFactory } from './Drawer.js';
import theme from './theme.css';
const Drawer = drawerFactory(Overlay);
const ThemedDrawer = themr(DRAWER, theme)(Drawer);
export default ThemedDrawer;
export { ThemedDrawer as Drawer };