@kojon74/react-native-unicons
Version:
Unicons - 4,500+ vector icons as easy to use vector React Native Components
31 lines (26 loc) • 815 B
JavaScript
import React from "react";
import Svg, { Path } from "react-native-svg";
import PropTypes from "prop-types";
const UilExchange = props => {
const { color, size, ...otherProps } = props;
return (
<Svg
width={size}
height={size}
viewBox="0 0 24 24"
fill={color}
{...otherProps}
>
<Path d="M18,10a1,1,0,0,0-1-1H5.41l2.3-2.29A1,1,0,0,0,6.29,5.29l-4,4a1,1,0,0,0-.21,1.09A1,1,0,0,0,3,11H17A1,1,0,0,0,18,10Zm3.92,3.62A1,1,0,0,0,21,13H7a1,1,0,0,0,0,2H18.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4A1,1,0,0,0,21.92,13.62Z" />
</Svg>
);
};
UilExchange.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
UilExchange.defaultProps = {
color: "currentColor",
size: "24"
};
export default UilExchange;