react-toolbox
Version:
A set of React components implementing Google's Material Design specification with the power of CSS Modules.
13 lines (10 loc) • 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 };