UNPKG

@lawenlerk/react-native-unicons

Version:

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

25 lines (21 loc) 782 B
import React from 'react'; import Svg, { Path } from 'react-native-svg'; import PropTypes from 'prop-types'; const UilHeart = ({color='currentColor', size=24, ...otherProps}) => { return ( <Svg width={size} height={size} viewBox="0 0 24 24" fill={color} {...otherProps} > <Path d="M20.16,5A6.29,6.29,0,0,0,12,4.36a6.27,6.27,0,0,0-8.16,9.48l6.21,6.22a2.78,2.78,0,0,0,3.9,0l6.21-6.22A6.27,6.27,0,0,0,20.16,5Zm-1.41,7.46-6.21,6.21a.76.76,0,0,1-1.08,0L5.25,12.43a4.29,4.29,0,0,1,0-6,4.27,4.27,0,0,1,6,0,1,1,0,0,0,1.42,0,4.27,4.27,0,0,1,6,0A4.29,4.29,0,0,1,18.75,12.43Z" /> </Svg> ); }; UilHeart.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; export default UilHeart;