@risemaxi/sigil
Version:
Icons and Signs for the Rise Design System
11 lines (10 loc) • 3.7 kB
JavaScript
import { memo } from 'react';
import { Svg, Path } from 'react-native-svg';
const Icon = (props) => {
const { color = 'black', size = 24, ...otherProps } = props;
return (<Svg viewBox="0 0 125 127" fill={color} height={size} width={size} {...otherProps}>
<Path d="M59.5576 2.19502C61.142 0.474616 63.858 0.474616 65.4424 2.19502L67.1105 4.00637C68.441 5.45114 70.6236 5.71616 72.2613 4.63178L74.3144 3.27227C76.2644 1.98103 78.9015 2.63101 80.0281 4.68058L81.2143 6.8385C82.1604 8.55971 84.2161 9.33936 86.0657 8.6784L88.3845 7.84975C90.5869 7.0627 92.9918 8.32489 93.5952 10.5845L94.2305 12.9636C94.7372 14.8612 96.5466 16.1102 98.5006 15.9111L100.95 15.6614C103.277 15.4243 105.31 17.2253 105.355 19.5637L105.403 22.0257C105.44 23.9894 106.898 25.6351 108.843 25.9094L111.282 26.2533C113.597 26.5799 115.14 28.8151 114.624 31.0963L114.081 33.4981C113.648 35.4138 114.67 37.3606 116.493 38.0924L118.778 39.0098C120.948 39.8811 121.911 42.4207 120.865 44.5121L119.762 46.7141C118.883 48.4705 119.41 50.6053 121.004 51.752L123.003 53.1896C124.902 54.555 125.23 57.2512 123.713 59.0314L122.116 60.9057C120.842 62.4007 120.842 64.5993 122.116 66.0943L123.713 67.9686C125.23 69.7488 124.902 72.445 123.003 73.8104L121.004 75.248C119.41 76.3947 118.883 78.5295 119.762 80.2859L120.865 82.4879C121.911 84.5794 120.948 87.1189 118.778 87.9902L116.493 88.9076C114.67 89.6393 113.648 91.5862 114.081 93.5019L114.624 95.9037C115.14 98.1849 113.597 100.42 111.282 100.747L108.843 101.091C106.898 101.365 105.44 103.011 105.403 104.974L105.355 107.436C105.31 109.775 103.277 111.576 100.95 111.339L98.5006 111.089C96.5466 110.89 94.7372 112.139 94.2304 114.036L93.5952 116.415C92.9918 118.675 90.5869 119.937 88.3845 119.15L86.0657 118.322C84.2162 117.661 82.1604 118.44 81.2143 120.161L80.0281 122.319C78.9015 124.369 76.2644 125.019 74.3144 123.728L72.2612 122.368C70.6236 121.284 68.441 121.549 67.1105 122.994L65.4424 124.805C63.858 126.525 61.142 126.525 59.5576 124.805L57.8895 122.994C56.559 121.549 54.3764 121.284 52.7388 122.368L50.6856 123.728C48.7356 125.019 46.0985 124.369 44.9719 122.319L43.7857 120.161C42.8396 118.44 40.7838 117.661 38.9343 118.322L36.6155 119.15C34.4131 119.937 32.0082 118.675 31.4048 116.415L30.7696 114.036C30.2628 112.139 28.4534 110.89 26.4994 111.089L24.0497 111.339C21.7229 111.576 19.69 109.775 19.6449 107.436L19.5974 104.974C19.5596 103.011 18.1016 101.365 16.1568 101.091L13.7184 100.747C11.4026 100.42 9.85969 98.1849 10.3755 95.9037L10.9186 93.5019C11.3518 91.5862 10.3301 89.6393 8.50738 88.9076L6.22222 87.9902C4.0518 87.1189 3.08869 84.5794 4.13547 82.4879L5.23759 80.2859C6.11666 78.5295 5.59049 76.3947 3.99587 75.248L1.99666 73.8104C0.0978301 72.445 -0.22955 69.7488 1.28734 67.9686L2.88441 66.0943C4.15827 64.5993 4.15827 62.4007 2.88441 60.9057L1.28734 59.0314C-0.22955 57.2512 0.0978301 54.555 1.99666 53.1896L3.99587 51.752C5.59049 50.6053 6.11666 48.4705 5.23759 46.7141L4.13547 44.5121C3.08868 42.4207 4.0518 39.8811 6.22222 39.0098L8.50739 38.0924C10.3301 37.3606 11.3518 35.4138 10.9186 33.4981L10.3755 31.0963C9.85969 28.8151 11.4026 26.5799 13.7184 26.2533L16.1568 25.9094C18.1016 25.6351 19.5596 23.9894 19.5974 22.0257L19.6449 19.5637C19.69 17.2253 21.7229 15.4243 24.0497 15.6614L26.4994 15.9111C28.4534 16.1102 30.2628 14.8612 30.7696 12.9636L31.4048 10.5845C32.0082 8.32489 34.4131 7.0627 36.6155 7.84975L38.9343 8.67841C40.7839 9.33936 42.8396 8.55971 43.7857 6.8385L44.9719 4.68058C46.0985 2.63101 48.7356 1.98103 50.6856 3.27227L52.7388 4.63178C54.3764 5.71616 56.559 5.45114 57.8895 4.00637L59.5576 2.19502Z" fill={color} fillOpacity="0.65"/>
</Svg>);
};
Icon.displayName = 'StarBadge';
export const StarBadge = memo(Icon);