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, onView, tasks = 0, tasksEnabled = true, unanswered, view }: {
attention?: boolean;
onView: (view: DecisionView) => void;
unanswered: number;
tasks?: number;
tasksEnabled?: boolean;
view: DecisionView;
},
) {
return (
{tasksEnabled && (
)}
);
}