import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Star = (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="M12 20v-2.4m0-11.2V4m8 8h-2.4M6.4 12H4m13.657-5.657L15.96 8.04m-7.92 7.92-1.697 1.697m0-11.314L8.04 8.04m7.92 7.92 1.697 1.697" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 20v-2.4m0-11.2V4m8 8h-2.4M6.4 12H4" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path opacity={0.5} d="M17.657 6.343 15.96 8.04m-7.92 7.92-1.697 1.697m0-11.314L8.04 8.04m7.92 7.92 1.697 1.697" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><path d="M12 20v-2.4m0-11.2V4m8 8h-2.4M6.4 12H4m13.657-5.657L15.96 8.04m-7.92 7.92-1.697 1.697m0-11.314L8.04 8.04m7.92 7.92 1.697 1.697" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></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="M12 3.25a.75.75 0 0 1 .75.75v2.4a.75.75 0 0 1-1.5 0V4a.75.75 0 0 1 .75-.75Zm6.187 2.563a.75.75 0 0 1 0 1.06L16.49 8.571a.75.75 0 1 1-1.06-1.061l1.697-1.697a.75.75 0 0 1 1.06 0Zm-12.374 0a.75.75 0 0 1 1.06 0L8.57 7.51a.75.75 0 0 1-1.06 1.06L5.813 6.875a.75.75 0 0 1 0-1.061ZM3.25 12a.75.75 0 0 1 .75-.75h2.4a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Zm13.6 0a.75.75 0 0 1 .75-.75H20a.75.75 0 0 1 0 1.5h-2.4a.75.75 0 0 1-.75-.75Zm-8.28 3.43a.75.75 0 0 1 0 1.06l-1.697 1.697a.75.75 0 1 1-1.06-1.06L7.51 15.43a.75.75 0 0 1 1.06 0Zm6.86 0a.75.75 0 0 1 1.06 0l1.697 1.697a.75.75 0 0 1-1.06 1.06l-1.698-1.697a.75.75 0 0 1 0-1.06ZM12 16.85a.75.75 0 0 1 .75.75V20a.75.75 0 0 1-1.5 0v-2.4a.75.75 0 0 1 .75-.75Z" 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 fillRule="evenodd" clipRule="evenodd" d="M12 3.25a.75.75 0 0 1 .75.75v2.4a.75.75 0 0 1-1.5 0V4a.75.75 0 0 1 .75-.75Zm6.187 2.563a.75.75 0 0 1 0 1.06L16.49 8.571a.75.75 0 1 1-1.06-1.061l1.697-1.697a.75.75 0 0 1 1.06 0Zm-12.374 0a.75.75 0 0 1 1.06 0L8.57 7.51a.75.75 0 0 1-1.06 1.06L5.813 6.875a.75.75 0 0 1 0-1.061ZM3.25 12a.75.75 0 0 1 .75-.75h2.4a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Zm13.6 0a.75.75 0 0 1 .75-.75H20a.75.75 0 0 1 0 1.5h-2.4a.75.75 0 0 1-.75-.75Zm-8.28 3.43a.75.75 0 0 1 0 1.06l-1.697 1.697a.75.75 0 1 1-1.06-1.06L7.51 15.43a.75.75 0 0 1 1.06 0Zm6.86 0a.75.75 0 0 1 1.06 0l1.697 1.697a.75.75 0 0 1-1.06 1.06l-1.698-1.697a.75.75 0 0 1 0-1.06ZM12 16.85a.75.75 0 0 1 .75.75V20a.75.75 0 0 1-1.5 0v-2.4a.75.75 0 0 1 .75-.75Z" 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 fillRule="evenodd" clipRule="evenodd" d="M12 3.25a.75.75 0 0 1 .75.75v2.4a.75.75 0 0 1-1.5 0V4a.75.75 0 0 1 .75-.75ZM3.25 12a.75.75 0 0 1 .75-.75h2.4a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.75-.75Zm13.6 0a.75.75 0 0 1 .75-.75H20a.75.75 0 0 1 0 1.5h-2.4a.75.75 0 0 1-.75-.75ZM12 16.85a.75.75 0 0 1 .75.75V20a.75.75 0 0 1-1.5 0v-2.4a.75.75 0 0 1 .75-.75Z" fill="currentColor" /><g opacity={0.5} fill="currentColor"><path d="M18.187 5.812a.75.75 0 0 1 0 1.061L16.49 8.57a.75.75 0 0 1-1.06-1.06l1.696-1.698a.75.75 0 0 1 1.061 0ZM5.812 5.813a.75.75 0 0 1 1.061 0L8.57 7.51a.75.75 0 0 1-1.06 1.06L5.812 6.873a.75.75 0 0 1 0-1.06ZM8.57 15.43a.75.75 0 0 1 0 1.06l-1.697 1.697a.75.75 0 0 1-1.06-1.06l1.697-1.698a.75.75 0 0 1 1.06 0ZM15.43 15.43a.75.75 0 0 1 1.06 0l1.697 1.696a.75.75 0 0 1-1.06 1.061l-1.698-1.697a.75.75 0 0 1 0-1.06Z" /></g></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Star