VerificationState
Sealed interface representing the various verification states for code input components.
This interface provides a UI-focused state system that abstracts the underlying view model states into states that are relevant for verification input components.
States correspond to different visual appearances and behaviors:
Default: Initial state, ready for input
Verifying: Currently processing the code
Success: Code verification succeeded
Error: Code verification failed
Inheritors
Types
Default state indicating the component is ready for user input. Typically shows normal input styling without any status indicators.
Error state indicating code verification failed. Typically displays error styling and allows retry.
Success state indicating the code was successfully verified. Often shows success indicators and may trigger navigation.
Verifying state indicating code submission is in progress. Usually displays loading indicators and disables input.