Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGoogleButton

Hierarchy

  • IGoogleButton

Index

Properties

Readonly apiUrl

apiUrl: string

The url of the api to perform the exchange

Optional Readonly callback

callback: undefined | (() => ReactHTMLElement<any>)
property
optional

A React component or any function that returns a React component. This would normally be used to display a preloader to the user whilst the OAuth2.0 login strategy is in flight. By default a Loading... message will be displayed.

example
<GoogleButton
   callback={() => <>"Loading..."</>}
   // other props...
/>

Optional Readonly defaultStyle

defaultStyle: undefined | false | true

Remove default styles. To Style the

Optional Readonly displayErrors

displayErrors: undefined | false | true

Optional. Default set to false. Display an error to the user (will be displayed in a child div element).

Readonly options

See IAuthorizationRequestParams

Optional Readonly placeholder

placeholder: undefined | string

Placeholder image displayed next to button text. The placeholder prop has no effect if placeholder is set to false

Generated using TypeDoc