Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

The props for the CopySolanaKeyButton component.

See

Extends

Properties

PropertyTypeDescriptionInherited from
addressstringThe address of the solana account to copy.-
className?stringThe class name to apply to the button.-
copiedLabel?stringThe label to display when the private key is copied.-
icon?booleanWhether to show an icon in the button.-
label?stringThe label to display on the button.-
onReady?() => voidA function to call when the iframe UI is ready.-
onSessionExpired?() => voidA function to call when the iframe session has expired.-
onSuccess?() => voidA function to call when the key is copied successfully.-
onError?(error?: string) => voidA function to call when there is an error in the secure iframe-
theme?Partial<SecureIframeTheme>Theme overrides for the iframe.-
variant?"primary" | "secondary"The variant of the button.-
size?ButtonSizeThe size of the button. Defaults to “md”.Pick.size
fullWidth?booleanWhether the button should be full width.Pick.fullWidth