UNPKG

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

Version:

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

1 lines 2.87 kB
{"version":3,"sources":["../src/IconPullRequest/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconPullRequest: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"pull-request\">\n <path\n d=\"M15.0607 3.75011L14 2.68945L10.6893 6.00011L14 9.31077L15.0607 8.25011L13.5607 6.75011H17.25V15.0946C15.9561 15.4277 15 16.6022 15 18.0001C15 19.657 16.3431 21.0001 18 21.0001C19.6569 21.0001 21 19.657 21 18.0001C21 16.6022 20.0439 15.4277 18.75 15.0946V5.25011H13.5607L15.0607 3.75011Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M6 3.00011C4.34315 3.00011 3 4.34326 3 6.00011C3 7.39799 3.95608 8.57257 5.25 8.9056V15.0946C3.95608 15.4277 3 16.6022 3 18.0001C3 19.657 4.34315 21.0001 6 21.0001C7.65685 21.0001 9 19.657 9 18.0001C9 16.6022 8.04392 15.4277 6.75 15.0946V8.9056C8.04392 8.57257 9 7.39799 9 6.00011C9 4.34326 7.65685 3.00011 6 3.00011Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconPullRequest;\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,EAAmDC,GAE5DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,gBACpCC,EAAA,cAAC,QACC,EAAE,iSACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,gUACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPullRequest","props","React","CentralIconBase","IconPullRequest_default"]}