import * as React from 'react'; import { IconProps } from '../../types'; import { IconWrapper } from '../IconWrapper'; const Bolt = (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="M15.268 18.229c-1.98 2.678-2.969 4.017-3.892 3.734-.923-.283-.923-1.925-.923-5.21v-.31c0-1.185 0-1.777-.379-2.148l-.02-.02c-.387-.363-1.003-.363-2.236-.363-2.22 0-3.329 0-3.704-.673a1.084 1.084 0 0 1-.018-.034c-.354-.683.289-1.552 1.574-3.29L8.732 5.77c1.979-2.678 2.969-4.017 3.892-3.734.923.283.923 1.925.923 5.21v.31c0 1.185 0 1.777.379 2.148l.02.02c.387.363 1.003.363 2.236.363 2.22 0 3.329 0 3.704.673l.018.034c.354.683-.289 1.553-1.574 3.29" 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="M13.926 9.705c-.379-.371-.379-.963-.379-2.148v-.31c0-3.285 0-4.927-.923-5.21-.923-.283-1.913 1.056-3.892 3.734L5.67 9.914c-1.285 1.739-1.928 2.608-1.574 3.291l.018.034c.375.673 1.485.673 3.704.673 1.233 0 1.85 0 2.236.363" stroke="currentColor" strokeWidth={1.5} /><path opacity={0.5} d="m13.926 9.706.02.019c.387.364 1.003.364 2.236.364 2.22 0 3.329 0 3.703.672l.019.034c.354.684-.289 1.553-1.574 3.29l-3.062 4.144c-1.98 2.678-2.969 4.017-3.892 3.734-.924-.283-.924-1.925-.923-5.21v-.31c0-1.184 0-1.777-.379-2.148l-.02-.02" 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="m5.67 9.914 3.062-4.143c1.979-2.678 2.969-4.017 3.892-3.734.923.283.923 1.925.923 5.21v.31c0 1.185 0 1.777.379 2.148l.02.02c.387.363 1.003.363 2.236.363 2.22 0 3.329 0 3.704.673l.018.034c.354.683-.289 1.553-1.574 3.29l-3.062 4.144c-1.98 2.678-2.969 4.017-3.892 3.734-.923-.283-.923-1.925-.923-5.21v-.31c0-1.185 0-1.777-.379-2.148l-.02-.02c-.387-.363-1.003-.363-2.236-.363-2.22 0-3.329 0-3.704-.673a1.084 1.084 0 0 1-.018-.034c-.354-.683.289-1.552 1.574-3.29Z" 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="M20.528 10.374c-.37-.642-1.05-.853-1.699-.944-.653-.091-1.528-.091-2.586-.091h-.06c-.63 0-1.043-.007-1.343-.048-.271-.038-.357-.094-.394-.127-.027-.028-.075-.093-.108-.33-.039-.28-.04-.663-.04-1.277v-.374c0-1.588 0-2.86-.123-3.766-.114-.851-.387-1.807-1.331-2.097-.928-.284-1.706.326-2.31.954-.645.67-1.41 1.705-2.368 3.001L5.029 9.52c-.61.825-1.12 1.514-1.422 2.083-.304.57-.525 1.248-.188 1.924v.002l.004.008.004.007.004.008.005.008.004.008.004.008.005.008.004.007.001.002c.368.637 1.044.86 1.699.96.674.102 1.574.109 2.665.109.637 0 1.042.001 1.34.04.264.033.343.085.376.114.03.032.083.105.12.35.042.281.049.67.049 1.277v.375c0 1.587 0 2.86.122 3.766.115.85.387 1.807 1.331 2.096.928.284 1.706-.325 2.31-.954.645-.67 1.41-1.704 2.368-3.001l3.1-4.193c.63-.854 1.15-1.567 1.455-2.16.3-.58.509-1.262.175-1.932l-.002-.002-.003-.008-.004-.008-.004-.007-.004-.009-.005-.008-.004-.007-.005-.008-.004-.007-.001-.002Zm-8.913-7.06c-.569.59-1.276 1.545-2.28 2.903L6.273 10.36c-.658.89-1.098 1.489-1.342 1.948-.12.223-.164.364-.177.45-.008.053-.003.076.003.092.025.035.13.144.622.22.538.082 1.311.092 2.439.092h.046c.577 0 1.08 0 1.484.051.433.056.864.181 1.22.516l.006.006.006.005c.35.344.492.77.557 1.203.062.414.066.923.066 1.5v.31c0 1.667.001 2.836.108 3.63.054.396.125.628.194.757.051.097.081.104.09.106h.002c.01.004.048.017.161-.04.142-.072.345-.226.628-.52.568-.59 1.276-1.545 2.28-2.903l3.061-4.143c.654-.885 1.09-1.492 1.33-1.956.204-.397.181-.531.168-.567-.023-.033-.123-.134-.603-.202-.537-.075-1.306-.076-2.44-.076-.602 0-1.125-.004-1.548-.063-.437-.06-.869-.192-1.222-.524l-.006-.006-.005-.005c-.353-.347-.49-.772-.549-1.202-.055-.394-.054-.883-.054-1.434v-.358c0-1.667-.002-2.836-.11-3.63-.052-.395-.124-.627-.193-.757-.051-.097-.08-.103-.089-.105h-.002l-.001-.001c-.01-.004-.047-.016-.161.04-.142.072-.345.226-.628.52Z" 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="m5.67 9.914 3.062-4.143c1.979-2.678 2.969-4.017 3.892-3.734.923.283.923 1.925.923 5.21v.31c0 1.185 0 1.777.379 2.148l.02.02c.387.363 1.003.363 2.236.363 2.22 0 3.329 0 3.704.673l.018.034c.354.683-.289 1.553-1.574 3.29l-3.062 4.144c-1.98 2.678-2.969 4.017-3.892 3.734-.923-.283-.923-1.925-.923-5.21v-.31c0-1.185 0-1.777-.379-2.148l-.02-.02c-.387-.363-1.003-.363-2.236-.363-2.22 0-3.329 0-3.704-.673a1.084 1.084 0 0 1-.018-.034c-.354-.683.289-1.552 1.574-3.29Z" 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="M8.732 5.771 5.67 9.914c-1.285 1.739-1.928 2.608-1.574 3.291l.018.034c.375.673 1.485.673 3.704.673 1.233 0 1.85 0 2.236.363l.02.02 3.872-4.57-.02-.02c-.379-.371-.379-.963-.379-2.148v-.31c0-3.285 0-4.927-.923-5.21-.923-.283-1.913 1.056-3.892 3.734Z" fill="currentColor" /><path opacity={0.5} d="M10.453 16.443v.31c0 3.284 0 4.927.923 5.21.923.283 1.913-1.056 3.893-3.734l3.062-4.143c1.284-1.739 1.927-2.608 1.573-3.291a1.353 1.353 0 0 0-.018-.034c-.375-.673-1.485-.673-3.704-.673-1.233 0-1.85 0-2.236-.363l-3.872 4.57c.379.371.379.963.379 2.148Z" fill="currentColor" /></svg> }; return <IconWrapper icon={styles[iconStyle || 'Linear']} {...restProps} /> }; export default Bolt