> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LinkAuthProps

Props for the LinkAuth component

## See

[LinkAuth](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Components/LinkAuth.md)

## Extends

* `Omit`\<`HTMLAttributes`\<`HTMLDivElement`>, `"children"`>

## Properties

| Property | Type | Description |
| - | - | - |
|  `children?` | \| `ReactNode` \| (`state`: [`LinkAuthState`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Interfaces/LinkAuthState)) => `ReactNode` | The 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`](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/AuthMethod)) => `void` | A function to call when an auth method is successfully linked. |
