-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for TypeScript #95
Comments
same here |
@mbukeRepo The problem is on ToastProvider don't expect to receive children by props. It seems no one is maintaining the lib =/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I'm already installed this lib on my project with TS and I'm facing this error below:
Type '{ children: Element[]; position: "BOTTOM"; }' is not assignable to type 'IntrinsicAttributes & Omit<ToastContextType, "toast">'.
Property 'children' does not exist on type 'IntrinsicAttributes & Omit<ToastContextType, "toast">'.
Follow my code:
Thanks
The text was updated successfully, but these errors were encountered: