react-toolbox-legacy
Version:
Unofficial fork of the react-toolbox package, compatible with React v16
13 lines (10 loc) • 401 B
JavaScript
import { themr } from 'react-css-themr-legacy';
import { DIALOG } from '../identifiers.js';
import { dialogFactory } from './Dialog.js';
import Overlay from '../overlay';
import Button from '../button';
import theme from './theme.scss';
const Dialog = dialogFactory(Overlay, Button);
const ThemedDialog = themr(DIALOG, theme)(Dialog);
export default ThemedDialog;
export { ThemedDialog as Dialog };