jrgarciadev/react-iconly

Upgrade to React 18

conversun opened this issue ยท 7 comments

Hi @jrgarciadev
I got this error while deploying to netlify. I'm using "react-iconly": "^2.2.5",

image

Is there any progress on this issue ?

A1yks commented

Is there any progress on this issue ?

You can install this module with --force flag. After that you need to create a file react-iconly.d.ts with the following contents:

import { ReactNode } from 'react';

declare module 'react-iconly' {
    export interface IconProps {
        children?: ReactNode;
    }
}

And don't forget to include this file in your tsconfig.json

6km commented

@jrgarciadev can you please give some attention to this issue?

Sorry guys but currently I'm focused on the NextUI migration to TailwindCSS so I have no time for updating this library at the moment, if any of you want to send a PR migrating it to React 18 it will be appreciated ๐Ÿ™๐Ÿป

Sorry guys but currently I'm focused on the NextUI migration to TailwindCSS so I have no time for updating this library at the moment, if any of you want to send a PR migrating it to React 18 it will be appreciated ๐Ÿ™๐Ÿป

I think you have no access to the last icons, right? In that case, we can't add more icons I think.