Skip to main content
Props for the LinkAuth component

See

LinkAuth

Extends

  • Omit<HTMLAttributes<HTMLDivElement>, "children">

Properties

PropertyTypeDescription
children?| ReactNode | (state: LinkAuthState) => ReactNodeThe children of the component. Leave empty to use the default UI. If a function is provided, it will be called with the current state of the link auth flow. The function should return a ReactNode.
onLinkSuccess?(method: | null | AuthMethod) => voidA function to call when an auth method is successfully linked.