glyphs icon indicating copy to clipboard operation
glyphs copied to clipboard

does not work with Next.js, and no TS support.

Open lipe-dev opened this issue 2 years ago • 1 comments

it might work after some webpack shenanigans. which I'm not willing to do for an icon library.

./node_modules/@glyphs/react-core/src/icons/A.jsx
Module parse failed: Unexpected token (9:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|     case 'path':
|       return (
>         <>
|           <path d="M29.3335 48.4004H50.6668" stroke="#C2CCDE" strokeLinecap={strokeLinecap} strokeLinejoin={strokeLinejoin} strokeWidth={strokeWidth || 3}/>
|           <path d="M24 64L39.4342 16.4113C39.5137 16.1661 39.7422 16 40 16C40.2578 16 40.4863 16.1661 40.5658 16.4113L56 64" stroke="#C2CCDE" strokeLinecap={strokeLinecap} strokeLinejoin={strokeLinejoin} strokeWidth={strokeWidth || 3}/>

also, no typescript support. you will have to provide your own .d.ts file

lipe-dev avatar Oct 28 '22 15:10 lipe-dev