import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const GamepadOld = (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}><g clipPath="url(#prefix__a)"><path d="M8 10v4m-2-2h4" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M16 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM18 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" /><path d="M12 4V3a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1V0M22 12c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C18.2 20 16.8 20 14 20h-4c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C2 16.2 2 14.8 2 12c0-2.8 0-4.2.545-5.27A5 5 0 0 1 4.73 4.545C5.8 4 7.2 4 10 4h4c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185c.188.37.311.778.392 1.27" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /></g><defs><clipPath id="prefix__a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></svg>, LineDuotone: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><g clipPath="url(#prefix__a)"><path opacity={0.5} d="M8 10v4m-2-2h4" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><g opacity={0.5} fill="currentColor"><path d="M16 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM18 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" /></g><path opacity={0.5} d="M12 4V3a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1V0" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M2 12c0-2.8 0-4.2.545-5.27A5 5 0 0 1 4.73 4.545C5.8 4 7.2 4 10 4h4c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185C22 7.8 22 9.2 22 12c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C18.2 20 16.8 20 14 20h-4c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C2 16.2 2 14.8 2 12Z" stroke="currentColor" strokeWidth={1.5} /></g><defs><clipPath id="prefix__a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></svg>, Linear: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><g clipPath="url(#prefix__a)"><path d="M8 10v4m-2-2h4" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M16 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM18 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" fill="currentColor" /><path d="M12 4V3a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1V0" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" /><path d="M2 12c0-2.8 0-4.2.545-5.27A5 5 0 0 1 4.73 4.545C5.8 4 7.2 4 10 4h4c2.8 0 4.2 0 5.27.545a5 5 0 0 1 2.185 2.185C22 7.8 22 9.2 22 12c0 2.8 0 4.2-.545 5.27a5 5 0 0 1-2.185 2.185C18.2 20 16.8 20 14 20h-4c-2.8 0-4.2 0-5.27-.545a5 5 0 0 1-2.185-2.185C2 16.2 2 14.8 2 12Z" stroke="currentColor" strokeWidth={1.5} /></g><defs><clipPath id="prefix__a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></svg>, Outline: <svg width="inherit" height="inherit" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}><g clipPath="url(#prefix__a)" fill="currentColor"><path d="M16 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM18 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" /><path fillRule="evenodd" clipRule="evenodd" d="M15-.75a.75.75 0 0 1 .75.75v1A1.75 1.75 0 0 1 14 2.75h-1a.25.25 0 0 0-.25.25v.25h1.284c1.371 0 2.447 0 3.311.07.88.073 1.607.221 2.265.557a5.75 5.75 0 0 1 2.513 2.513c.336.658.485 1.385.556 2.265.071.864.071 1.94.071 3.311v.068c0 1.371 0 2.447-.07 3.311-.072.88-.221 1.607-.557 2.265a5.75 5.75 0 0 1-2.513 2.513c-.658.336-1.385.485-2.265.556-.864.071-1.94.071-3.311.071H9.966c-1.371 0-2.447 0-3.311-.07-.88-.072-1.607-.221-2.265-.557a5.75 5.75 0 0 1-2.513-2.513c-.336-.658-.484-1.385-.556-2.265-.071-.864-.071-1.94-.071-3.311v-.068c0-1.371 0-2.447.07-3.311.073-.88.221-1.607.557-2.265A5.75 5.75 0 0 1 4.39 3.877c.658-.336 1.385-.484 2.265-.556.864-.071 1.94-.071 3.311-.071h1.284V3c0-.966.784-1.75 1.75-1.75h1a.25.25 0 0 0 .25-.25V0A.75.75 0 0 1 15-.75Zm-5 5.5c-1.413 0-2.427 0-3.223.066-.787.064-1.295.188-1.706.397a4.25 4.25 0 0 0-1.858 1.858c-.21.411-.333.919-.397 1.706-.065.796-.066 1.81-.066 3.223 0 1.412 0 2.427.066 3.223.064.787.188 1.295.397 1.707a4.25 4.25 0 0 0 1.858 1.857c.411.21.919.333 1.706.397.796.065 1.81.066 3.223.066h4c1.412 0 2.427 0 3.223-.066.787-.064 1.295-.188 1.707-.397a4.251 4.251 0 0 0 1.857-1.857c.21-.412.333-.92.397-1.707.065-.796.066-1.81.066-3.223 0-1.412 0-2.427-.066-3.223-.064-.787-.188-1.295-.397-1.706a4.25 4.25 0 0 0-1.857-1.858c-.412-.21-.92-.333-1.707-.397-.796-.065-1.81-.066-3.223-.066h-4Zm-2 4.5a.75.75 0 0 1 .75.75v1.25H10a.75.75 0 0 1 0 1.5H8.75V14a.75.75 0 0 1-1.5 0v-1.25H6a.75.75 0 0 1 0-1.5h1.25V10A.75.75 0 0 1 8 9.25Z" /></g><defs><clipPath id="prefix__a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></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="M15 1.25a.75.75 0 0 1 .75.75v1A1.75 1.75 0 0 1 14 4.75h-1a.25.25 0 0 0-.25.25v1H14c3.771 0 5.657 0 6.828 1.172C22 8.343 22 10.229 22 14c0 3.771 0 5.657-1.172 6.828C19.657 22 17.771 22 14 22h-4c-3.771 0-5.657 0-6.828-1.172C2 19.657 2 17.771 2 14c0-3.771 0-5.657 1.172-6.828C4.343 6 6.229 6 10 6h1.25V5c0-.966.784-1.75 1.75-1.75h1a.25.25 0 0 0 .25-.25V2a.75.75 0 0 1 .75-.75ZM8.75 12a.75.75 0 0 0-1.5 0v1.05a.2.2 0 0 1-.2.2H6a.75.75 0 0 0 0 1.5h1.05c.11 0 .2.09.2.2V16a.75.75 0 0 0 1.5 0v-1.05c0-.11.09-.2.2-.2H10a.75.75 0 0 0 0-1.5H8.95a.2.2 0 0 1-.2-.2V12ZM15 13.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" 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 opacity={0.5} d="M12.75 6H14c3.771 0 5.657 0 6.828 1.172C22 8.343 22 10.229 22 14c0 3.771 0 5.657-1.172 6.828C19.657 22 17.771 22 14 22h-4c-3.771 0-5.657 0-6.828-1.172C2 19.657 2 17.771 2 14c0-3.771 0-5.657 1.172-6.828C4.343 6 6.229 6 10 6h2.75Z" fill="currentColor" /><path d="M8.75 12a.75.75 0 0 0-1.5 0v1.05a.2.2 0 0 1-.2.2H6a.75.75 0 0 0 0 1.5h1.05c.11 0 .2.09.2.2V16a.75.75 0 0 0 1.5 0v-1.05c0-.11.09-.2.2-.2H10a.75.75 0 0 0 0-1.5H8.95a.2.2 0 0 1-.2-.2V12ZM15 13.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM18 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM15.75 2a.75.75 0 0 0-1.5 0v1a.25.25 0 0 1-.25.25h-1A1.75 1.75 0 0 0 11.25 5v1h1.5V5a.25.25 0 0 1 .25-.25h1A1.75 1.75 0 0 0 15.75 3V2Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default GamepadOld