import { Button, Input } from "@common/components";; import OperatorsComponents from "./OperatorsComponents"; import type { VerifyDetailResponseDto } from "@/entities/statistics/model/general-verification-interface"; interface FormulaComponentsProps { data?: VerifyDetailResponseDto | null; index?: number; onDelete?: () => void; onOperatorChange?: (value: string) => void; handleFomulaDialog?: (show: boolean, data?: VerifyDetailResponseDto | null, index?: number) => void; } const FormulaComponents = ({ data, index, onDelete, onOperatorChange, handleFomulaDialog }: FormulaComponentsProps) => { const cmprOpert = data?.cmprOpert; return (
handleFomulaDialog?.(true, data, index)} readOnly />
); }; export default FormulaComponents;