You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| tag |string |button |tag that should be used to create element that will be used as loging element |
44
-
| text |string |Sign in with Twitter |text that will be shown in component |
45
-
| loginUrl |string ||URL that will be used to finish 3rd step of authentication process |
46
-
| requestTokenUrl |string ||URL that will be used to get request token |
47
-
| onFailure |function||function that will be called if user cannot be authenticated |
48
-
| onSuccess |function||function that will be called if user is successfully authenticated |
49
-
| disabled |boolean |false |disable component |
50
-
| style |object ||style object |
51
-
| className |string ||class name for component |
52
-
| dialogWidth |number |600 |dialog width |
53
-
| dialogHeight |number |400 |dialog height |
54
-
| showIcon |bool |true |should default icon be visible |
55
-
| credentials |string |same-origin |indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests. Possible values: `omit`, `same-origin`, `include`|
56
-
| customHeaders |object |{} |custom headers should be object with fields that needs to be sent to user server. Field name will be used as header key and field value as header value. Because of bug in fetch implementation all keys will be lowercase.|
57
-
| children |node ||this props can be used in order to override default component content|
58
-
| forceLogin |bool |false |force user to authenticate with Twitter username and password |
| className | string || class name for component |
57
+
| dialogWidth | number | 600 | dialog width |
58
+
| dialogHeight | number | 400 | dialog height |
59
+
| showIcon | bool | true | should default icon be visible |
60
+
| credentials | string | same-origin | indicates whether the user agent should send cookies from the other domain in the case of cross-origin requests. Possible values: `omit`, `same-origin`, `include`|
61
+
| customHeaders | object | {} | custom headers should be object with fields that needs to be sent to user server. Field name will be used as header key and field value as header value. Because of bug in fetch implementation all keys will be lowercase. |
62
+
| children | node || this props can be used in order to override default component content |
63
+
| forceLogin | bool | false | force user to authenticate with Twitter username and password |
64
+
| screenName | string | '' | prefills the username input box of the OAuth login screen with the given value |
0 commit comments