kitten-components
Version:
Front-end components library
24 lines (20 loc) • 607 B
JavaScript
import React from 'react'
import ReactDOM from 'react-dom'
export class GrabberIcon extends React.Component {
componentDidMount() {
const element = ReactDOM.findDOMNode(this)
element.setAttribute('xmlns', 'http://www.w3.org/2000/svg')
}
render() {
return (
<svg viewBox="0 0 100 100" width="32" height="32" {...this.props}>
<title>Grabber</title>
<path d="M0 0 v100 h20 v-100 z" />
<path d="M40 0 v100 h20 v-100 z" />
<path d="M80 0 v100 h20 v-100 z" />
</svg>
)
}
}
// DEPRECATED: do not use default export.
export default GrabberIcon