import { getNodeLabel } from "@ory/integrations/ui" import { Button } from "@ory/themes" import { callWebauthnFunction, NodeInputProps } from "./helpers" export function NodeInputButton({ node, attributes, setValue, disabled, dispatchSubmit, }: NodeInputProps) { // Some attributes have dynamic JavaScript - this is for example required for WebAuthn. const onClick = (e: React.MouseEvent | React.FormEvent) => { // This section is only used for WebAuthn. The script is loaded via a