13 lines
394 B
JavaScript
13 lines
394 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.scss';
|
|
|
|
const Dialog = dialogFactory(Overlay, Button);
|
|
const ThemedDialog = themr(DIALOG, theme)(Dialog);
|
|
|
|
export default ThemedDialog;
|
|
export { ThemedDialog as Dialog };
|