@foo-software/react-toolbox
Version:
A set of React components implementing Google's Material Design specification with the power of CSS Modules.
12 lines (9 loc) • 326 B
JavaScript
import { themr } from 'react-css-themr';
import { CHIP } from '../identifiers';
import { chipFactory } from './Chip';
import { Avatar } from '../avatar';
import theme from './theme.css';
const Chip = chipFactory(Avatar);
const ThemedChip = themr(CHIP, theme)(Chip);
export default ThemedChip;
export { ThemedChip as Chip };