// "use client"; import React from "react"; import { TextSelect, Combine, WholeWord, Highlighter, Atom, Mic2, CheckCircle2, } from "lucide-react"; // --- Granularity Definition --- export const GRANULARITY_LEVELS = [ { id: "text", name: "Text", icon: TextSelect }, { id: "paragraph", name: "Paragraph", icon: Combine }, { id: "sentence", name: "Sentence", icon: Highlighter }, { id: "clause", name: "Clause (Sentence Lvl)", icon: Highlighter }, { id: "word", name: "Word/Token", icon: WholeWord }, { id: "syllable", name: "Syllable (Word Lvl)", icon: Mic2 }, { id: "phoneme", name: "Phoneme (Word Lvl)", icon: Atom }, ] as const; export type GranularityId = (typeof GRANULARITY_LEVELS)[number]["id"]; // --- Granularity Menu --- interface GranularityMenuProps { selectedGranularity: GranularityId; onSelectGranularity: (granularity: GranularityId) => void; } const GranularityMenu: React.FC = ({ selectedGranularity, onSelectGranularity, }) => ( ); export default GranularityMenu;