import React from 'react' import { color } from '../_utils/branding' import { BaseIcon, BaseIconDefaultProps, Icon } from '../_utils/icon' export type StarIconProps = Icon & Readonly<{ bgColor?: string fill?: number }> export const StarIcon = ({ bgColor, fill, ...props }: StarIconProps) => { // needs to be unique, otherwise all stars will use the first defined linear gradient const id = `gradient-${fill}` const offset = `${fill * 100}%` return ( ) } StarIcon.defaultProps = { ...BaseIconDefaultProps, bgColor: color.white, fill: 0, }