+
+ View
+
+
+ {(["flat", "grouped"] as ViewKey[]).map((v) => (
+
+ ))}
+
+
+
+ Type
+
+
+
+ {TYPES.map((t) => (
+
+ ))}
+
+
+
+ Sort by
+
+
+ {(
+ [
+ ["recent", "Recent first"],
+ ["name", "Name (A–Z)"],
+ ["thc", "THC %"],
+ ["remaining", "Remaining"],
+ ["price", "Price"],
+ ["audit", "Audit overdue"],
+ ] as [SortKey, string][]
+ ).map(([k, l]) => (
+
+ ))}
+
+
+