expo-popcore-app/components/icon/points.tsx

29 lines
1.2 KiB
TypeScript

import Svg, { Path, Defs, LinearGradient, Stop } from 'react-native-svg';
interface PointsIconProps {
width?: number | string;
height?: number | string;
style?: any;
}
export const PointsIcon = ({width = 14, height = 14, style}: PointsIconProps) => (
<Svg width={width} height={height} viewBox="0 0 14 14" fill="none" style={style} preserveAspectRatio="xMidYMid meet">
<Defs>
<LinearGradient
id="paint0_linear_2_1946"
x1="7.00033"
y1="1.73615"
x2="7.00033"
y2="12.2639"
gradientUnits="userSpaceOnUse"
>
<Stop offset="0" stopColor="#FFC738" />
<Stop offset="1" stopColor="#FFA92D" />
</LinearGradient>
</Defs>
<Path
d="M10.297 6.5548H8.38602C8.21382 6.5548 8.08222 6.3994 8.11022 6.23L8.79062 2.0622C8.83542 1.7892 8.49802 1.624 8.30902 1.8256L3.49862 6.9734C3.33202 7.1526 3.45802 7.4452 3.70302 7.4452H5.61402C5.78622 7.4452 5.91782 7.6006 5.88982 7.77L5.20942 11.9378C5.16462 12.2108 5.50202 12.376 5.69102 12.1744L10.5014 7.0266C10.6694 6.8474 10.542 6.5548 10.297 6.5548Z"
fill="url(#paint0_linear_2_1946)"
/>
</Svg>
);