Add document classification

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-22 16:23:30 +02:00
parent 36ef29299c
commit c7cabf23de
32 changed files with 891 additions and 229 deletions

View File

@@ -0,0 +1,20 @@
import { useTranslate } from "@probo/i18n";
import { Option } from "@probo/ui";
import {
documentClassifications,
getDocumentClassificationLabel,
} from "@probo/helpers";
export function DocumentClassificationOptions() {
const { __ } = useTranslate();
return (
<>
{documentClassifications.map((classification) => (
<Option key={classification} value={classification}>
{getDocumentClassificationLabel(__, classification)}
</Option>
))}
</>
);
}