'use strict';
var assign = Object.assign;
var React = require('react');
var ReactART = require('react-art');
var createReactClass = require('create-react-class');
var Path = ReactART.Path;
var Shape = ReactART.Shape;
var Circle = createReactClass({
displayName: 'Circle',
render: function render() {
var radius = this.props.radius;
var path = Path()
.moveTo(0, -radius)
.arc(0, radius * 2, radius)
.arc(0, radius * -2, radius)
.close();
return React.createElement(Shape, assign({}, this.props, {d: path}));
},
});
module.exports = Circle;