@turnkey/react-wallet-kit
Version:
The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.
23 lines (20 loc) • 707 B
JavaScript
import { jsxs, jsx } from 'react/jsx-runtime';
import { ActionButton } from '../design/Buttons.mjs';
function PasskeyButtons(props) {
var onLogin = props.onLogin,
onSignUp = props.onSignUp;
return jsxs("div", {
className: "flex flex-col gap-2 w-full",
children: [jsx(ActionButton, {
onClick: onLogin,
className: "w-full text-inherit bg-button-light dark:bg-button-dark",
children: "Log in with passkey"
}), jsx(ActionButton, {
onClick: onSignUp,
className: "w-full bg-transparent text-primary-light dark:text-primary-dark border-none",
children: "Sign up with passkey"
})]
});
}
export { PasskeyButtons };
//# sourceMappingURL=Passkey.mjs.map