OtpVerifyButton
fun OtpVerifyButton(state: OtpState, onVerify: (code: String) -> Unit, accessibility: OtpVerifyAccessibility, modifier: Modifier = Modifier, enabled: Boolean = true, alignment: OtpAlignment = OtpAlignment.CENTER, style: OtpButtonStyle = OtpButtonDefaults.style())(source)
Button that verifies a complete code. It is enabled only while state is complete and enabled is true. The host owns verification: onVerify receives the code and should not also be triggered by onComplete of OtpField for the same code unless it de-duplicates. Pass the same alignment as OtpField to keep them aligned.