import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const KeySquare2 = (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="M17.26 11.44c2.618 0 4.74-2.113 4.74-4.72C22 4.113 19.878 2 17.26 2c-2.617 0-4.739 2.113-4.739 4.72 0 1.208.551 2.086.551 2.086l-5.731 5.708c-.257.256-.617.922 0 1.537l.661.658c.257.22.904.527 1.433 0l.771-.768c.772.768 1.654.329 1.984-.11.552-.768-.11-1.537-.11-1.537l.22-.22c1.059 1.054 1.985.44 2.315 0 .551-.768 0-1.536 0-1.536-.22-.44-.661-.44-.11-.988l.661-.659c.53.44 1.617.55 2.095.55Z" stroke="currentColor" strokeWidth={1.5} strokeLinejoin="round" /><path d="M2 11.99c0 4.719 0 7.078 1.466 8.544C4.932 22 7.29 22 12.01 22s7.078 0 8.544-1.466c1.115-1.115 1.382-2.747 1.446-5.541M9.007 2c-2.794.064-4.426.33-5.541 1.446-.977.977-1.303 2.35-1.412 4.554" 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="M17.26 11.44c2.618 0 4.74-2.113 4.74-4.72C22 4.113 19.878 2 17.26 2c-2.617 0-4.739 2.113-4.739 4.72 0 1.208.551 2.086.551 2.086l-5.731 5.708c-.257.256-.617.922 0 1.537l.661.658c.257.22.904.527 1.433 0l.771-.768c.772.768 1.654.329 1.984-.11.552-.768-.11-1.537-.11-1.537l.22-.22c1.059 1.054 1.985.44 2.315 0 .551-.768 0-1.536 0-1.536-.22-.44-.661-.44-.11-.988l.661-.659c.53.44 1.617.55 2.095.55Z" stroke="currentColor" strokeWidth={1.5} strokeLinejoin="round" /><path opacity={0.5} d="M18.164 6.72a.9.9 0 0 1-.904.896v1.5a2.4 2.4 0 0 0 2.404-2.396h-1.5Zm-.904.896a.9.9 0 0 1-.903-.896h-1.5a2.4 2.4 0 0 0 2.404 2.396v-1.5Zm-.903-.896a.9.9 0 0 1 .904-.897v-1.5a2.4 2.4 0 0 0-2.404 2.397h1.5Zm.904-.897a.9.9 0 0 1 .903.897h1.5a2.4 2.4 0 0 0-2.404-2.397v1.5Z" fill="currentColor" /><path opacity={0.5} d="M22 14.993c-.064 2.794-.33 4.426-1.446 5.541C19.088 22 16.73 22 12.01 22s-7.078 0-8.544-1.466C2 19.068 2 16.71 2 11.99s0-7.078 1.466-8.544C4.58 2.33 6.213 2.064 9.007 2" 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="M17.26 11.44c2.618 0 4.74-2.113 4.74-4.72C22 4.113 19.878 2 17.26 2c-2.617 0-4.739 2.113-4.739 4.72 0 1.208.551 2.086.551 2.086l-5.731 5.708c-.257.256-.617.922 0 1.537l.661.658c.257.22.904.527 1.433 0l.771-.768c.772.768 1.654.329 1.984-.11.552-.768-.11-1.537-.11-1.537l.22-.22c1.059 1.054 1.985.44 2.315 0 .551-.768 0-1.536 0-1.536-.22-.44-.661-.44-.11-.988l.661-.659c.53.44 1.617.55 2.095.55Z" stroke="currentColor" strokeWidth={1.5} strokeLinejoin="round" /><path d="M22 14.993c-.064 2.794-.33 4.426-1.446 5.541C19.088 22 16.73 22 12.01 22s-7.078 0-8.544-1.466C2 19.068 2 16.71 2 11.99s0-7.078 1.466-8.544C4.58 2.33 6.213 2.064 9.007 2" 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="M9.757 1.983a.75.75 0 0 1-.733.767c-2.822.064-4.15.349-5.028 1.226-.57.57-.897 1.342-1.07 2.622-.174 1.301-.176 3.011-.176 5.392 0 2.38.002 4.09.177 5.392.172 1.28.499 2.051 1.07 2.622.57.57 1.341.897 2.621 1.07 1.301.174 3.011.176 5.392.176 2.38 0 4.09-.002 5.392-.177 1.28-.172 2.051-.499 2.622-1.07.877-.877 1.162-2.206 1.226-5.027a.75.75 0 1 1 1.5.034c-.063 2.766-.313 4.702-1.666 6.054-.895.896-2.036 1.302-3.482 1.496-1.413.19-3.224.19-5.535.19h-.114c-2.311 0-4.122 0-5.535-.19-1.446-.194-2.587-.6-3.482-1.496-.896-.895-1.302-2.036-1.496-3.482-.19-1.413-.19-3.224-.19-5.535v-.114c0-2.311 0-4.122.19-5.535.194-1.446.6-2.587 1.496-3.482C4.289 1.563 6.223 1.313 8.99 1.25a.75.75 0 0 1 .767.733Zm7.504.767c-2.207 0-3.99 1.78-3.99 3.97a3.579 3.579 0 0 0 .429 1.673l.01.017a.746.746 0 0 1-.106.925l-5.734 5.71a.46.46 0 0 0-.117.224.183.183 0 0 0 .005.089.414.414 0 0 0 .112.161l.634.632a.553.553 0 0 0 .222.096.186.186 0 0 0 .082-.003.239.239 0 0 0 .098-.066l.771-.769a.75.75 0 0 1 1.059 0c.115.115.21.162.279.183a.423.423 0 0 0 .208.01.662.662 0 0 0 .363-.216c.091-.13.088-.244.045-.374a.87.87 0 0 0-.122-.231l-.004-.005a.75.75 0 0 1 .046-1.013l.22-.22a.75.75 0 0 1 1.059 0c.384.383.638.378.761.355a.756.756 0 0 0 .42-.268.506.506 0 0 0 .082-.438.83.83 0 0 0-.092-.224L14 12.967l-.029-.04-.026-.053a.438.438 0 0 0-.073-.095l-.009-.01c-.037-.038-.167-.175-.247-.319a.978.978 0 0 1-.056-.848c.091-.235.26-.428.416-.584l.661-.658a.75.75 0 0 1 1.008-.046c.12.1.375.207.74.282.342.07.682.094.876.094 2.206 0 3.989-1.78 3.989-3.97 0-2.19-1.783-3.97-3.99-3.97Zm-4.112 12.626c-.032.286-.133.59-.35.892l-.004.007-.005.007a2.153 2.153 0 0 1-1.285.793 1.926 1.926 0 0 1-1.214-.16l-.327.326c-.452.45-.992.559-1.457.49a2.031 2.031 0 0 1-1.034-.49l-.661-.66c-.482-.48-.623-1.043-.54-1.554.077-.465.326-.832.54-1.045l5.35-5.33a5.076 5.076 0 0 1-.392-1.933c.001-3.023 2.462-5.469 5.49-5.469 3.03 0 5.49 2.446 5.49 5.47 0 3.024-2.46 5.47-5.49 5.47a6.16 6.16 0 0 1-1.18-.125c-.24-.05-.519-.124-.79-.24l-.144.146a1.739 1.739 0 0 1 .129.205 2.33 2.33 0 0 1 .277.667 2.004 2.004 0 0 1-.327 1.669l-.005.007-.006.007c-.246.327-.71.725-1.344.845a1.998 1.998 0 0 1-.721.005Zm4.112-9.552a.9.9 0 0 0-.904.896.9.9 0 0 0 .904.897.9.9 0 0 0 .903-.897.9.9 0 0 0-.903-.896Zm-2.404.896a2.4 2.4 0 0 1 2.404-2.396 2.4 2.4 0 0 1 2.403 2.396 2.4 2.4 0 0 1-2.403 2.397 2.4 2.4 0 0 1-2.404-2.397Z" 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="M22 6.72c0 2.607-2.122 4.72-4.74 4.72-.477 0-1.565-.11-2.094-.549l-.661.659c-.389.387-.284.501-.11.689.071.078.155.17.22.299 0 0 .551.768 0 1.537-.33.439-1.256 1.053-2.314 0l-.22.22s.66.768.11 1.536c-.331.439-1.213.878-1.985.11l-.771.768c-.53.527-1.176.22-1.433 0l-.661-.659c-.617-.614-.257-1.28 0-1.536l5.731-5.708s-.55-.878-.55-2.086c0-2.607 2.121-4.72 4.739-4.72C19.878 2 22 4.113 22 6.72Zm-3.086 0c0 .91-.74 1.647-1.653 1.647a1.65 1.65 0 0 1-1.654-1.647c0-.91.74-1.647 1.654-1.647a1.65 1.65 0 0 1 1.653 1.647Z" fill="currentColor" /><path d="M13.196 2.001a6.195 6.195 0 0 0-2.175 4.72c0 .68.127 1.276.273 1.738l-5.012 4.992a2.71 2.71 0 0 0-.75 1.455c-.122.747.095 1.555.75 2.207l.662.659c.027.027.055.053.084.078.295.252.774.535 1.37.623a2.423 2.423 0 0 0 2.088-.693c.385.097.78.105 1.16.032a2.902 2.902 0 0 0 1.763-1.107c.133-.185.235-.372.31-.557a2.81 2.81 0 0 0 .291-.04 3.003 3.003 0 0 0 1.824-1.16 2.742 2.742 0 0 0 .487-2.08 6.236 6.236 0 0 0 5.678-2.1L22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12s0-7.071 1.464-8.536C4.93 2 7.286 2 12 2l1.196.001Z" 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="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Z" fill="currentColor" /><path fillRule="evenodd" clipRule="evenodd" d="M22 6.72c0 2.607-2.122 4.72-4.74 4.72-.477 0-1.565-.11-2.094-.549l-.661.659c-.389.387-.284.501-.11.689.071.078.155.17.22.299 0 0 .551.768 0 1.537-.33.439-1.256 1.053-2.314 0l-.22.22s.66.768.11 1.536c-.331.439-1.213.878-1.985.11l-.771.768c-.53.527-1.176.22-1.433 0l-.661-.659c-.617-.614-.257-1.28 0-1.536l5.731-5.708s-.55-.878-.55-2.086c0-2.607 2.121-4.72 4.739-4.72C19.878 2 22 4.113 22 6.72Zm-3.086 0c0 .91-.74 1.647-1.653 1.647a1.65 1.65 0 0 1-1.654-1.647c0-.91.74-1.647 1.654-1.647a1.65 1.65 0 0 1 1.653 1.647Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default KeySquare2