UNPKG

@central-icons-react/round-outlined-radius-3-stroke-2

Version:

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

11 lines 2.4 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconShortcut/index.tsx"], "sourcesContent": [ "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", "import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconShortcut: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"shortcut, hotkey, powerkey, skill\"><path d=\"M17 4H7C5.34315 4 4 5.34315 4 7V17C4 18.6569 5.34315 20 7 20H17C18.6569 20 20 18.6569 20 17V7C20 5.34315 18.6569 4 17 4Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M12.4984 11H15.3786C15.811 11 16.0395 11.5118 15.7508 11.8338L11.448 16.6331C11.0938 17.0282 10.4492 16.6722 10.5949 16.162L11.4984 13H8.61817C8.18573 13 7.95721 12.4882 8.24588 12.1662L12.5487 7.36689C12.9029 6.97182 13.5476 7.32783 13.4018 7.83803L12.4984 11Z\" fill=\"currentColor\"/></CentralIconBase>;\n};\n\nexport default IconShortcut;\n" ], "mappings": "AAAA,qBAQO,IAAM,EAET,EACF,WACA,OAAO,GACP,YACA,QACA,aAAa,GACb,WACG,KACC,CACJ,OACE,gBAaE,MAbF,IACM,EACJ,cAAa,EACb,KAAM,EAAa,OAAY,MAC/B,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAa,CAAC,GAAc,gBAAoB,QAApB,KAAQ,CAAY,EAChD,CACD,GCjCN,qBAGO,IAAM,EAA+C,CAAC,IAAU,CACrE,OAAO,gBAA2hB,EAA3hB,IAAqB,EAAO,UAAU,qCAAoC,gBAAC,OAAD,CAAM,EAAE,2HAA2H,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,wQAAwQ,KAAK,eAAc,CAAI,GAGrhB", "debugId": "F82F7A147A49FDDF64756E2164756E21", "names": [] }