UNPKG

@central-icons-react/square-outlined-radius-0-stroke-1.5

Version:

A collection of square outlined React icons with 0px radius and 1.5px stroke width, designed for use in React applications.

1 lines 3.25 kB
{"version":3,"sources":["../src/IconPencilSparkle/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconPencilSparkle: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase\n {...props}\n ariaLabel=\"pencil-sparkle, magic pencil, magic brush\"\n >\n <path\n d=\"M8.66667 3.66667L9.5 2L10.3333 3.66667L12 4.5L10.3333 5.33333L9.5 7L8.66667 5.33333L7 4.5L8.66667 3.66667Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M4.33333 7.33333L5.5 5L6.66667 7.33333L9 8.5L6.66667 9.66667L5.5 12L4.33333 9.66667L2 8.5L4.33333 7.33333Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M22.5265 5.46594L19.5342 2.47363L7.50391 13.0001L7.5 13.0001C5.01472 13.0001 3 15.0148 3 17.5001V22.0001H7.5C9.98528 22.0001 12 19.9854 12 17.5001L12 17.4962L22.5265 5.46594ZM11.6097 15.6644C11.1581 14.6547 10.3454 13.8421 9.33572 13.3904L19.4658 4.5266L20.4735 5.53429L11.6097 15.6644ZM4.5 17.5001C4.5 15.8433 5.84315 14.5001 7.5 14.5001C7.57422 14.5001 7.64768 14.5028 7.72031 14.508C9.20109 14.6151 10.385 15.799 10.4921 17.2798C10.4973 17.3524 10.5 17.4259 10.5 17.5001C10.5 19.157 9.15685 20.5001 7.5 20.5001H4.5V17.5001Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconPencilSparkle;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n ...props\n}) => {\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {children}\n </svg>\n );\n};\n"],"mappings":"AAAA,OAAOA,MAAW,QCAlB,OAAOC,MAAW,QAQX,IAAMC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEIR,EAAA,cAAC,OACE,GAAGQ,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAcN,EAAA,cAAC,aAAOI,CAAU,EAC9CF,CACH,ED9BG,IAAMO,EAAqDC,GAE9DC,EAAA,cAACC,EAAA,CACE,GAAGF,EACJ,UAAU,6CAEVC,EAAA,cAAC,QACC,EAAE,6GACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,6GACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,ihBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPencilSparkle","props","React","CentralIconBase","IconPencilSparkle_default"]}