@kojon74/react-native-unicons
Version:
Unicons - 4,500+ vector icons as easy to use vector React Native Components
31 lines (26 loc) • 912 B
JavaScript
import React from "react";
import Svg, { Path } from "react-native-svg";
import PropTypes from "prop-types";
const UilComparison = props => {
const { color, size, ...otherProps } = props;
return (
<Svg
width={size}
height={size}
viewBox="0 0 24 24"
fill={color}
{...otherProps}
>
<Path d="M21 20H4v-.54l5-5 3.8 3.8a1 1 0 0 0 1.41 0l7.5-7.5a1 1 0 0 0 0-1.42 1 1 0 0 0-1.41 0l-6.8 6.8-3.79-3.8a1 1 0 0 0-1.41 0L4 16.63v-5.17l5-5 2.8 2.8a1 1 0 0 0 1.41 0L18 4.47l2.19 2.19a1 1 0 0 0 1.41-1.42l-2.91-2.89a1 1 0 0 0-1.41 0l-4.8 4.8-2.79-2.8a1 1 0 0 0-1.41 0L4 8.63V3a1 1 0 0 0-2 0v18a1 1 0 0 0 1 1h18a1 1 0 0 0 0-2Z" />
</Svg>
);
};
UilComparison.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
UilComparison.defaultProps = {
color: "currentColor",
size: "24"
};
export default UilComparison;