@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 • 749 B
JavaScript
/* Generated code. Do not edit.*/
import { useMemo } from 'react';
import regular from '../regular/ArrowsLeftRight';
import fill from '../fill/ArrowsLeftRight';
import bold from '../bold/ArrowsLeftRight';
function ArrowsLeftRight(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 ArrowsLeftRight;
//# sourceMappingURL=ArrowsLeftRight.js.map