@kojon74/react-native-unicons
Version:
Unicons - 4,500+ vector icons as easy to use vector React Native Components
31 lines (26 loc) • 724 B
JavaScript
import React from "react";
import Svg, { Path } from "react-native-svg";
import PropTypes from "prop-types";
const UilTextFields = props => {
const { color, size, ...otherProps } = props;
return (
<Svg
width={size}
height={size}
viewBox="0 0 24 24"
fill={color}
{...otherProps}
>
<Path d="M16,6a1,1,0,0,0-1-1H3A1,1,0,0,0,3,7H8V18a1,1,0,0,0,2,0V7h5A1,1,0,0,0,16,6Zm5,5H15a1,1,0,0,0,0,2h2v5a1,1,0,0,0,2,0V13h2a1,1,0,0,0,0-2Z" />
</Svg>
);
};
UilTextFields.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};
UilTextFields.defaultProps = {
color: "currentColor",
size: "24"
};
export default UilTextFields;