react-toolbox/components/dialog/index.js

13 lines
393 B
JavaScript

import { themr } from 'react-css-themr';
import { DIALOG } from '../identifiers.js';
import { dialogFactory } from './Dialog.js';
import Overlay from '../overlay';
import Button from '../button';
import theme from './theme.css';
const Dialog = dialogFactory(Overlay, Button);
const ThemedDialog = themr(DIALOG, theme)(Dialog);
export default ThemedDialog;
export { ThemedDialog as Dialog };