13 lines
395 B
JavaScript
13 lines
395 B
JavaScript
import { themr } from 'react-css-themr';
|
|
import { DIALOG } from '../identifiers';
|
|
import { dialogFactory } from './Dialog';
|
|
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 };
|