diff --git a/src/components/summaryPage/Detail.tsx b/src/components/summaryPage/Detail.tsx index c5f0406..794a09f 100644 --- a/src/components/summaryPage/Detail.tsx +++ b/src/components/summaryPage/Detail.tsx @@ -9,10 +9,11 @@ interface SectionDataType { type LabelsType = { [key: string]: string; }; -export const Detail = ({ - keyName, sectionData, value, labels } : - {keyName: string, sectionData: SectionDataType, value: string | number, labels: LabelsType - }) => ( + +interface DetailProps { + keyName: string, sectionData: SectionDataType, value: string | number, labels: LabelsType +} +export const Detail = ({ keyName, sectionData, value, labels } : DetailProps) => (