UNPKG

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

Version:

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

1 lines 3.07 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=\"M9.5 2L8.66667 3.66667L7 4.5L8.66667 5.33333L9.5 7L10.3333 5.33333L12 4.5L10.3333 3.66667L9.5 2Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M5.5 5L4.33333 7.33333L2 8.5L4.33333 9.66667L5.5 12L6.66667 9.66667L9 8.5L6.66667 7.33333L5.5 5Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.10693 13.0169L19.0475 2.63379L22.3665 5.95277L11.983 17.8938C11.7835 20.1947 9.85259 22 7.5 22H3V17.5C3 15.1472 4.80572 13.2161 7.10693 13.0169ZM11.4886 15.4145C11.0633 14.6028 10.3976 13.937 9.58596 13.5116L18.9523 5.36699L19.6333 6.048L11.4886 15.4145ZM7.5 15C6.11929 15 5 16.1193 5 17.5V20H7.5C8.88071 20 10 18.8807 10 17.5C10 16.1193 8.88071 15 7.5 15Z\"\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,mGACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,mGACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,0WACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPencilSparkle","props","React","CentralIconBase","IconPencilSparkle_default"]}