react-material-icon-svg
Version:
material icon react SVG version
18 lines (14 loc) • 733 B
JSX
import React, { Component } from 'react';
export default class HeartIcon extends Component {
static defaultProps = {
className: ''
};
constructor(props) {
super(props);
}
render() {
return (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" baseProfile="full" viewBox="0 0 24.00 24.00" {...this.props} className={`material material-heart-icon ${this.props.className}`}><path d="M12 21.35l-1.45-1.317C5.401 15.36 2 12.273 2 8.498c0-3.084 2.415-5.5 5.5-5.5 1.74 0 3.408.808 4.5 2.086 1.09-1.278 2.758-2.086 4.5-2.086 3.083 0 5.5 2.416 5.5 5.5 0 3.776-3.403 6.863-8.552 11.535L12 21.35z"/></svg>
)
}
}