import { Count } from "@chopin/editor";
import type { DecisionView } from "@chopin/editor";
export function decisionAttention(previous: number, current: number): boolean {
return current > previous;
}
export function DecisionViewControl(
{ attention, backgroundWork = 0, backgroundWorkEnabled = true, onView, unanswered, view }: {
attention?: boolean;
backgroundWork?: number;
backgroundWorkEnabled?: boolean;
onView: (view: DecisionView) => void;
unanswered: number;
view: DecisionView;
},
) {
return (
{backgroundWorkEnabled && (
)}
);
}