Skip to content

To use Custom Button/Child Component, while using typescript. #38

@rajesh-cs18

Description

@rajesh-cs18

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-twitter-login@1.5.0 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-twitter-login/index.d.ts b/node_modules/react-twitter-login/index.d.ts
index 4bf96f1..edd5397 100644
--- a/node_modules/react-twitter-login/index.d.ts
+++ b/node_modules/react-twitter-login/index.d.ts
@@ -34,6 +34,7 @@ interface TwitterLoginProps {
    * Additional class name string.
    */
   className?: string;
+  children?: React.ReactNode;
 }
 
 

This issue body was partially generated by patch-package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions