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