Skip to content

Commit

Permalink
added some props
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailov committed Aug 16, 2022
1 parent 0faff5a commit b0029f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ allprojects {
// apply plugin: 'net.saliman.properties'

group = "com.github.underlow"
version = "0.4"
version = "0.5"

}
6 changes: 6 additions & 0 deletions react-google-login-wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Wrapper for [React Google Login](https://github.com/anthonyjgrove/react-google-l

Usage example:
```
add
implementation ("com.github.underlow:react-google-login-wrapper-js:version")
implementation(npm("react-google-login", "version"))
and then
GoogleLogin {
attrs {
clientId = "your client id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ external interface GoogleLoginProps : Props {
var uxMode: String // popup| redirect
var render: (GoogleLoginProps) -> ReactElement<Props>
var onClick: () -> Unit
var cookiePolicy: String // ???
var accessType: String // Can be either 'online' or 'offline'. Use offline with responseType 'code' to retrieve an authorization code for fetching a refresh token
}

external interface GoogleLogoutProps : Props {
Expand Down

0 comments on commit b0029f2

Please sign in to comment.