Props
Optional appearance configuration for styling the export button.
style
"normal" | "italic" | "oblique"
onExport
() => void | Promise<void>
Optional callback invoked after the user successfully exports (copies) their private key.
Usage
import { ExportPrivateKeyButton } from "@crossmint/client-sdk-react-ui";
function WalletSettings() {
return (
<div>
<h3>Export Private Key</h3>
<ExportPrivateKeyButton
appearance={{
colors: { border: "#e2e8f0" },
borderRadius: "12px",
}}
/>
</div>
);
}
Note: Only works with email and phone signers. Will not render for passkey or external wallet signers.