UNPKG

globalbridge-lsf-custom

Version:

GlobalBridge in-house labeling tool, originating from LSF.

12 lines (10 loc) • 278 B
import React from 'react'; import { Block } from '../../utils/bem'; import './Icon.styl'; export const Icon = React.forwardRef(({ icon, ...props }, ref) => { return ( <Block tag='span' name='icon' ref={ref}> {React.createElement(icon, props)} </Block> ); });