UNPKG

@kojon74/react-native-unicons

Version:

Unicons - 4,500+ vector icons as easy to use vector React Native Components

31 lines (26 loc) 876 B
import React from "react"; import Svg, { Path } from "react-native-svg"; import PropTypes from "prop-types"; const UilMessage = props => { const { color, size, ...otherProps } = props; return ( <Svg width={size} height={size} viewBox="0 0 24 24" fill={color} {...otherProps} > <Path d="M20.34,9.32l-14-7a3,3,0,0,0-4.08,3.9l2.4,5.37h0a1.06,1.06,0,0,1,0,.82l-2.4,5.37A3,3,0,0,0,5,22a3.14,3.14,0,0,0,1.35-.32l14-7a3,3,0,0,0,0-5.36Zm-.89,3.57-14,7a1,1,0,0,1-1.35-1.3l2.39-5.37A2,2,0,0,0,6.57,13h6.89a1,1,0,0,0,0-2H6.57a2,2,0,0,0-.08-.22L4.1,5.41a1,1,0,0,1,1.35-1.3l14,7a1,1,0,0,1,0,1.78Z" /> </Svg> ); }; UilMessage.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) }; UilMessage.defaultProps = { color: "currentColor", size: "24" }; export default UilMessage;