import { Form, FormInstance, Select, Typography } from 'antd'; import { TFunction } from 'i18next'; import { IProjectStatus } from '@/types/project/projectStatus.types'; import { getStatusIcon } from '@/utils/projectUtils'; interface ProjectStatusSectionProps { statuses: IProjectStatus[]; form: FormInstance; t: TFunction; disabled: boolean; } const ProjectStatusSection = ({ statuses, form, t, disabled }: ProjectStatusSectionProps) => { const statusOptions = statuses.map((status, index) => ({ key: index, value: status.id, label: ( {status.icon && status.color_code && getStatusIcon(status.icon, status.color_code)} {status.name} ), })); return (