@talend/react-components
Version:
Set of react components.
17 lines • 512 B
JavaScript
import PropTypes from 'prop-types';
import Icon from '../../../Icon';
import badgeCssModule from '../../Badge.module.scss';
import { getTheme } from '../../../theme';
import { jsx as _jsx } from "react/jsx-runtime";
const theme = getTheme(badgeCssModule);
const BadgeIcon = ({
name
}) => /*#__PURE__*/_jsx(Icon, {
name: name,
className: theme('tc-badge-label-icon')
});
BadgeIcon.propTypes = {
name: PropTypes.string.isRequired
};
export default BadgeIcon;
//# sourceMappingURL=BadgeIcon.component.js.map