react-toolbox-legacy
Version:
Unofficial fork of the react-toolbox package, compatible with React v16
12 lines (9 loc) • 404 B
JavaScript
import { themr } from 'react-css-themr-legacy';
import { SNACKBAR } from '../identifiers.js';
import { snackbarFactory } from './Snackbar.js';
import { Overlay } from '../overlay';
import { Button } from '../button';
import theme from './theme.scss';
const ThemedSnackbar = themr(SNACKBAR, theme)(snackbarFactory(Overlay, Button));
export default ThemedSnackbar;
export { ThemedSnackbar as Snackbar };