react-toolbox-legacy
Version:
Unofficial fork of the react-toolbox package, compatible with React v16
12 lines (9 loc) • 336 B
JavaScript
import { CHIP } from '../identifiers.js';
import { themr } from 'react-css-themr-legacy';
import { chipFactory } from './Chip.js';
import Avatar from '../avatar';
import theme from './theme.scss';
const Chip = chipFactory(Avatar);
const ThemedChip = themr(CHIP, theme)(Chip);
export default ThemedChip;
export { ThemedChip as Chip };