iconLightning.tsx 1.1 KB

12345678910111213141516171819202122232425262728
  1. import * as React from 'react';
  2. import SvgIcon, {SVGIconProps} from './svgIcon';
  3. interface Props extends SVGIconProps {
  4. isSolid?: boolean;
  5. }
  6. const IconLightning = React.forwardRef<SVGSVGElement, Props>(
  7. ({isSolid = false, ...props}, ref) => {
  8. return (
  9. <SvgIcon {...props} ref={ref}>
  10. {isSolid ? (
  11. <React.Fragment>
  12. <path d="M3.81,16a1.21,1.21,0,0,1-.74-.26,1.19,1.19,0,0,1-.33-1.45L4.79,10,2.32,8.39a1,1,0,0,1-.07-1.58L10.67.26a1.19,1.19,0,0,1,1.8,1.46L10.41,6,12.9,7.64a1,1,0,0,1,.44.78,1,1,0,0,1-.38.8L4.54,15.74A1.15,1.15,0,0,1,3.81,16Z" />
  13. <path d="M12.08,8.9Z" />
  14. </React.Fragment>
  15. ) : (
  16. <path d="M3.81,16a1.21,1.21,0,0,1-.74-.26,1.19,1.19,0,0,1-.33-1.45L4.79,10,2.32,8.39a1,1,0,0,1-.07-1.58L10.67.26a1.19,1.19,0,0,1,1.8,1.46L10.41,6,12.9,7.64a1,1,0,0,1,.44.78,1,1,0,0,1-.38.8L4.54,15.74A1.15,1.15,0,0,1,3.81,16ZM3.76,7.53l2.4,1.56a.77.77,0,0,1,.27,1L4.65,13.76l6.81-5.27L9,6.91a.75.75,0,0,1-.26-1l1.78-3.71ZM12.08,8.9Zm-.95-8h0Z" />
  17. )}
  18. </SvgIcon>
  19. );
  20. }
  21. );
  22. IconLightning.displayName = 'IconLightning';
  23. export {IconLightning};