Files
probo/apps/console/src/components/form/DocumentClassificationOptions.tsx
Émile Ré c168be6de0 Add import order sorting rules
Signed-off-by: Émile Ré <emile@getprobo.com>
2026-01-22 20:38:37 +04:00

21 lines
500 B
TypeScript

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