react-toolbox-legacy
Version:
Unofficial fork of the react-toolbox package, compatible with React v16
12 lines (9 loc) • 377 B
JavaScript
import { AVATAR } from '../identifiers.js';
import { themr } from 'react-css-themr-legacy';
import { avatarFactory } from './Avatar.js';
import FontIcon from '../font_icon/FontIcon.js';
import theme from './theme.scss';
const Avatar = avatarFactory(FontIcon);
const ThemedAvatar = themr(AVATAR, theme)(Avatar);
export default ThemedAvatar;
export { ThemedAvatar as Avatar };