appbaseio/reactivesearch

View on GitHub
packages/web/src/components/range/addons/Star.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import types from '@appbaseio/reactivecore/lib/utils/types';

function Star(props) {
    return (
        <svg
            width="286px"
            height="272px"
            viewBox="0 0 286 272"
            version="1.1"
            xmlns="http://www.w3.org/2000/svg"
            className={props.className}
        >
            <defs />
            <g id="Page-1" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
                <polygon
                    id="star-flat"
                    fill="#FFA91B"
                    points="143 225 54.8322122 271.352549 71.6707613 173.176275 0.341522556 103.647451 98.9161061 89.3237254 143 0 187.083894 89.3237254 285.658477 103.647451 214.329239 173.176275 231.167788 271.352549 "
                />
            </g>
        </svg>
    );
}

Star.propTypes = {
    className: types.string,
};

export default Star;