The result of useUiDecision in candidates mode.
API
interface UseUiDecisionCandidatesResult {decision: UseDecisionResult < DecidableSchema >;error: Error | undefined;ids: string[];isLoading: boolean;ui: ReactElement < any > [];}decision
UseDecisionResult<DecidableSchema>The underlying selection decision.
error
Error | undefinedThe decision's last failure.
ids
string[]The chosen candidate ids in order. Empty until decided, or when the decision falls below minConfidence.
isLoading
booleanWhether the decision is in flight.
ui
ReactElement<any>[]The chosen elements in order, keyed by candidate id.