import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Stars = (allProps: IconProps) => { const { svgProps: props, iconStyle, ...restProps } = allProps; const styles: { [style: string]: React.ReactNode } = { Broken: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="m10.503 5.017-.536-1.36c-.346-.876-1.588-.876-1.934 0L6.961 6.377a1.04 1.04 0 0 1-.585.585L3.658 8.033c-.877.346-.877 1.588 0 1.934l2.718 1.072c.268.105.48.317.585.585l1.072 2.718c.346.877 1.588.877 1.934 0l1.072-2.718c.105-.268.317-.48.585-.585l2.718-1.072c.877-.346.877-1.588 0-1.934l-1.359-.536" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M16.488 13.348a.55.55 0 0 1 1.024 0l.8 2.03a.55.55 0 0 0 .31.31l2.03.8a.55.55 0 0 1 0 1.024l-2.03.8a.55.55 0 0 0-.31.31l-.8 2.03a.55.55 0 0 1-1.024 0l-.8-2.03a.55.55 0 0 0-.31-.31l-2.03-.8a.55.55 0 0 1 0-1.024l2.03-.8a.55.55 0 0 0 .31-.31l.8-2.03Z" stroke="currentColor" strokeWidth={1.5} /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M8.033 3.658c.346-.877 1.588-.877 1.934 0l1.072 2.718c.105.268.317.48.585.585l2.718 1.072c.877.346.877 1.588 0 1.934l-2.718 1.072c-.268.105-.48.317-.585.585l-1.072 2.718c-.346.877-1.588.877-1.934 0l-1.072-2.718a1.039 1.039 0 0 0-.585-.585L3.658 9.967c-.877-.346-.877-1.588 0-1.934l2.718-1.072a1.04 1.04 0 0 0 .585-.585l1.072-2.718Z" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.4} d="M16.488 13.348a.55.55 0 0 1 1.024 0l.8 2.03a.55.55 0 0 0 .31.31l2.03.8a.55.55 0 0 1 0 1.024l-2.03.8a.55.55 0 0 0-.31.31l-.8 2.03a.55.55 0 0 1-1.024 0l-.8-2.03a.55.55 0 0 0-.31-.31l-2.03-.8a.55.55 0 0 1 0-1.024l2.03-.8a.55.55 0 0 0 .31-.31l.8-2.03Z" stroke="currentColor" strokeWidth={1.5} /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M8.033 3.658c.346-.877 1.588-.877 1.934 0l1.072 2.718c.105.268.317.48.585.585l2.718 1.072c.877.346.877 1.588 0 1.934l-2.718 1.072c-.268.105-.48.317-.585.585l-1.072 2.718c-.346.877-1.588.877-1.934 0l-1.072-2.718a1.039 1.039 0 0 0-.585-.585L3.658 9.967c-.877-.346-.877-1.588 0-1.934l2.718-1.072a1.04 1.04 0 0 0 .585-.585l1.072-2.718ZM16.488 13.348a.55.55 0 0 1 1.024 0l.8 2.03a.55.55 0 0 0 .31.31l2.03.8a.55.55 0 0 1 0 1.024l-2.03.8a.55.55 0 0 0-.31.31l-.8 2.03a.55.55 0 0 1-1.024 0l-.8-2.03a.55.55 0 0 0-.31-.31l-2.03-.8a.55.55 0 0 1 0-1.024l2.03-.8a.55.55 0 0 0 .31-.31l.8-2.03Z" stroke="currentColor" strokeWidth={1.5} /></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path fillRule="evenodd" clipRule="evenodd" d="M7.336 3.383c.595-1.51 2.733-1.51 3.328 0L11.736 6.1a.29.29 0 0 0 .163.163l2.718 1.072c1.51.595 1.51 2.733 0 3.328L11.9 11.736a.29.29 0 0 0-.163.163l-1.072 2.718c-.595 1.51-2.733 1.51-3.328 0L6.264 11.9a.29.29 0 0 0-.163-.163l-2.718-1.072c-1.51-.595-1.51-2.733 0-3.328L6.1 6.264a.289.289 0 0 0 .163-.163l1.072-2.718Zm1.933.55a.29.29 0 0 0-.538 0L7.66 6.651A1.79 1.79 0 0 1 6.651 7.66L3.933 8.731a.29.29 0 0 0 0 .538l2.718 1.072a1.79 1.79 0 0 1 1.008 1.008l1.072 2.718a.29.29 0 0 0 .538 0l1.072-2.718a1.79 1.79 0 0 1 1.008-1.008l2.718-1.072a.29.29 0 0 0 0-.538L11.349 7.66a1.79 1.79 0 0 1-1.008-1.008L9.269 3.933Zm6.522 9.14c.433-1.097 1.985-1.097 2.418 0l.769 1.95 1.949.768c1.097.433 1.097 1.985 0 2.418l-1.95.769-.768 1.949c-.433 1.097-1.985 1.097-2.418 0l-.769-1.95-1.949-.768c-1.097-.433-1.097-1.985 0-2.418l1.95-.769.768-1.949ZM17 14.095l-.614 1.558a1.3 1.3 0 0 1-.733.733L14.095 17l1.558.614c.335.133.6.398.733.733L17 19.905l.614-1.558a1.3 1.3 0 0 1 .733-.733L19.905 17l-1.558-.614a1.3 1.3 0 0 1-.733-.733L17 14.095Z" fill="currentColor" /></svg>, Bold: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M7.453 2.713c.375-.95 1.72-.95 2.094 0l1.162 2.944c.114.29.344.52.634.634l2.944 1.162c.95.375.95 1.72 0 2.094l-2.944 1.162c-.29.114-.52.344-.634.634l-1.162 2.944c-.375.95-1.72.95-2.094 0L6.29 11.343a1.126 1.126 0 0 0-.634-.634L2.713 9.547c-.95-.375-.95-1.72 0-2.094L5.657 6.29c.29-.114.52-.344.634-.634l1.162-2.944ZM16.924 13.392a.619.619 0 0 1 1.152 0l.9 2.283c.063.16.19.286.349.349l2.283.9a.619.619 0 0 1 0 1.152l-2.283.9a.619.619 0 0 0-.349.349l-.9 2.283a.619.619 0 0 1-1.152 0l-.9-2.283a.619.619 0 0 0-.349-.349l-2.283-.9a.619.619 0 0 1 0-1.152l2.283-.9a.619.619 0 0 0 .349-.349l.9-2.283Z" fill="currentColor" /></svg>, BoldDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M7.453 2.713c.375-.95 1.72-.95 2.094 0l1.162 2.944c.114.29.344.52.634.634l2.944 1.162c.95.375.95 1.72 0 2.094l-2.944 1.162c-.29.114-.52.344-.634.634l-1.162 2.944c-.375.95-1.72.95-2.094 0L6.29 11.343a1.126 1.126 0 0 0-.634-.634L2.713 9.547c-.95-.375-.95-1.72 0-2.094L5.657 6.29c.29-.114.52-.344.634-.634l1.162-2.944Z" fill="currentColor" /><path opacity={0.5} d="M16.924 13.392a.619.619 0 0 1 1.152 0l.9 2.283c.063.16.19.286.349.349l2.283.9a.619.619 0 0 1 0 1.152l-2.283.9a.619.619 0 0 0-.349.349l-.9 2.283a.619.619 0 0 1-1.152 0l-.9-2.283a.619.619 0 0 0-.349-.349l-2.283-.9a.619.619 0 0 1 0-1.152l2.283-.9a.619.619 0 0 0 .349-.349l.9-2.283Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Stars