oc · docs
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcSignInButtonProps

Interface: OcSignInButtonProps

Defined in: components.tsx:323

Extends

  • unknown<HTMLAnchorElement>

Properties

PropertyTypeDescriptionDefined in
<a id="property-eager"></a> eager?booleanWhen true, render an <a> even while the session is loading, to avoid layout shift. Defaults to false (renders nothing while loading).components.tsx:330
<a id="property-label"></a> label?stringLabel shown when no user is signed in. Defaults to sign in with bitcoin.components.tsx:325
<a id="property-signinurl"></a> signInUrl?stringOverride the destination URL. Defaults to the session's signInUrl (the auth host's redirect-style /signin). Set this to a local path like '/signin' when the consumer site has its own in-place <OcSignIn /> page — keeps the user in-tab.components.tsx:337