@vuduc0801/react-native-phosphor-icons
Version:
Since [Phosphor](https://phosphoricons.com/) does not support React Native, we have to convert all the SVGs to React Native SVGs.
31 lines • 689 B
JavaScript
/* Generated code. Do not edit.*/
import { useMemo } from 'react';
import regular from '../regular/Unite';
import fill from '../fill/Unite';
import bold from '../bold/Unite';
function Unite(props) {
const {
color = '#000',
size = 24,
weight = 'regular',
mirrored = false,
style
} = props;
const weightMap = {
fill,
regular,
bold
};
const IconComponent = useMemo(() => {
return weightMap[weight];
}, [weight]);
return /*#__PURE__*/React.createElement(IconComponent, {
color: color,
size: size,
style: [style, ...[mirrored && {
transform: 'scaleX(-1)'
}]]
});
}
export default Unite;
//# sourceMappingURL=Unite.js.map