mautourco-components 0.2.35 → 0.2.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/components/molecules/ActionDropdown/ActionDropdown.d.ts +1 -1
  2. package/dist/components/molecules/ActionDropdown/ActionDropdown.js +4 -4
  3. package/dist/components/molecules/AddItemButton/AddItemButton.d.ts +1 -1
  4. package/dist/components/molecules/AddItemButton/AddItemButton.js +3 -3
  5. package/dist/components/molecules/BookingPax/BookingPax.d.ts +9 -6
  6. package/dist/components/molecules/BookingPax/BookingPax.js +2 -2
  7. package/dist/components/molecules/BookingPax/BookingPaxAccom.d.ts +1 -2
  8. package/dist/components/molecules/BookingPax/BookingPaxAccom.js +2 -2
  9. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.d.ts +1 -1
  10. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.js +2 -2
  11. package/dist/components/molecules/BookingPax/BookingPaxExcursion.d.ts +1 -2
  12. package/dist/components/molecules/BookingPax/BookingPaxExcursion.js +2 -2
  13. package/dist/components/molecules/BookingPax/BookingPaxHeader.d.ts +5 -5
  14. package/dist/components/molecules/BookingPax/BookingPaxHeader.js +2 -2
  15. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.d.ts +1 -1
  16. package/dist/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.js +2 -2
  17. package/dist/components/molecules/BookingPax/BookingPaxRemarks.d.ts +1 -2
  18. package/dist/components/molecules/BookingPax/BookingPaxRemarks.js +4 -4
  19. package/dist/components/molecules/BookingPax/BookingPaxTransfer.d.ts +1 -2
  20. package/dist/components/molecules/BookingPax/BookingPaxTransfer.js +2 -2
  21. package/dist/components/molecules/BookingResume/BookingResume.d.ts +13 -8
  22. package/dist/components/molecules/BookingResume/BookingResume.js +2 -2
  23. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.d.ts +1 -1
  24. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.js +2 -2
  25. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.d.ts +1 -2
  26. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +2 -2
  27. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.d.ts +1 -2
  28. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +2 -2
  29. package/dist/components/molecules/BookingResume/ResumeOtherService.d.ts +1 -2
  30. package/dist/components/molecules/BookingResume/ResumeOtherService.js +2 -2
  31. package/dist/components/molecules/BookingResume/ResumeTransfer.d.ts +1 -2
  32. package/dist/components/molecules/BookingResume/ResumeTransfer.js +2 -2
  33. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -2
  34. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js +2 -2
  35. package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +1 -2
  36. package/dist/components/molecules/DateDisplay/DateDisplay.js +3 -3
  37. package/dist/components/molecules/DetailsInfo/DetailsAction.d.ts +1 -2
  38. package/dist/components/molecules/DetailsInfo/DetailsAction.js +2 -2
  39. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.d.ts +1 -1
  40. package/dist/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.js +2 -2
  41. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.d.ts +1 -2
  42. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.js +2 -2
  43. package/dist/components/molecules/DetailsInfo/DetailsFile.d.ts +1 -2
  44. package/dist/components/molecules/DetailsInfo/DetailsFile.js +2 -2
  45. package/dist/components/molecules/DetailsInfo/DetailsInfo.d.ts +8 -4
  46. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.d.ts +1 -1
  47. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.js +2 -2
  48. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.d.ts +1 -1
  49. package/dist/components/molecules/DialogContentPolicy/DialogCancellationAccom.js +2 -2
  50. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.d.ts +1 -1
  51. package/dist/components/molecules/DialogContentPolicy/DialogCancellationExcursion.js +2 -2
  52. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.d.ts +2 -3
  53. package/dist/components/molecules/DialogContentPolicy/DialogCancellationList.js +4 -4
  54. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.d.ts +9 -6
  55. package/dist/components/molecules/DialogContentPolicy/DialogContentPolicy.js +2 -2
  56. package/dist/components/molecules/FromTo/FromTo.d.ts +1 -1
  57. package/dist/components/molecules/FromTo/FromTo.js +2 -2
  58. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.d.ts +1 -2
  59. package/dist/components/molecules/GlobalAmenities/GlobalAmenities.js +2 -2
  60. package/dist/components/molecules/PaxChips/PaxChips.d.ts +1 -2
  61. package/dist/components/molecules/PaxChips/PaxChips.js +2 -2
  62. package/dist/components/molecules/PaxDisplay/PaxDisplay.d.ts +1 -1
  63. package/dist/components/molecules/PaxDisplay/PaxDisplay.js +2 -2
  64. package/dist/components/molecules/ServiceTitle/ServiceTitle.d.ts +1 -1
  65. package/dist/components/molecules/ServiceTitle/ServiceTitle.js +2 -2
  66. package/dist/components/molecules/StepperTimeline/StepperTimeline.d.ts +3 -2
  67. package/dist/components/molecules/StepperTimeline/StepperTimeline.js +2 -2
  68. package/dist/components/molecules/TableServiceItem/DetailsCol.d.ts +1 -1
  69. package/dist/components/molecules/TableServiceItem/DetailsCol.js +2 -2
  70. package/dist/components/molecules/TableServiceItem/ItemCol.d.ts +1 -1
  71. package/dist/components/molecules/TableServiceItem/ItemCol.js +2 -2
  72. package/dist/components/molecules/TableServiceItem/RowAccommodation.d.ts +2 -3
  73. package/dist/components/molecules/TableServiceItem/RowAccommodation.js +9 -6
  74. package/dist/components/molecules/TableServiceItem/RowExcursion.d.ts +3 -4
  75. package/dist/components/molecules/TableServiceItem/RowExcursion.js +5 -5
  76. package/dist/components/molecules/TableServiceItem/RowOtherServices.d.ts +3 -4
  77. package/dist/components/molecules/TableServiceItem/RowOtherServices.js +4 -4
  78. package/dist/components/molecules/TableServiceItem/RowTransfer.d.ts +3 -4
  79. package/dist/components/molecules/TableServiceItem/RowTransfer.js +4 -4
  80. package/dist/components/molecules/TableServiceItem/index.d.ts +4 -4
  81. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.d.ts +1 -2
  82. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.js +2 -2
  83. package/dist/components/molecules/TextWithIcon/TextWithIcon.d.ts +1 -1
  84. package/dist/components/molecules/TextWithIcon/TextWithIcon.js +2 -2
  85. package/dist/components/molecules/TimelineItem/ServiceAccommodation.d.ts +1 -2
  86. package/dist/components/molecules/TimelineItem/ServiceAccommodation.js +2 -2
  87. package/dist/components/molecules/TimelineItem/ServiceExcursion.d.ts +1 -2
  88. package/dist/components/molecules/TimelineItem/ServiceExcursion.js +2 -2
  89. package/dist/components/molecules/TimelineItem/ServiceTransfer.d.ts +1 -2
  90. package/dist/components/molecules/TimelineItem/ServiceTransfer.js +2 -2
  91. package/dist/components/molecules/TimelineItem/TimelineHeader.d.ts +1 -2
  92. package/dist/components/molecules/TimelineItem/TimelineHeader.js +2 -2
  93. package/dist/components/molecules/TimelineItem/TimelineItem.d.ts +6 -3
  94. package/dist/components/molecules/Toast/Toast.d.ts +1 -2
  95. package/dist/components/molecules/Toast/Toast.js +3 -3
  96. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.d.ts +1 -1
  97. package/dist/components/molecules/TooltipDisplay/TooltipDisplay.js +2 -2
  98. package/dist/components/organisms/Booking/Booking.d.ts +8 -4
  99. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.d.ts +1 -1
  100. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.js +2 -2
  101. package/dist/components/organisms/Booking/BookingHeader.d.ts +1 -2
  102. package/dist/components/organisms/Booking/BookingHeader.js +2 -2
  103. package/dist/components/organisms/Booking/BookingPaxList.d.ts +1 -2
  104. package/dist/components/organisms/Booking/BookingPaxList.js +2 -2
  105. package/dist/components/organisms/Booking/BookingStep/BookingStep.d.ts +1 -2
  106. package/dist/components/organisms/Booking/BookingStep/BookingStep.js +2 -2
  107. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.d.ts +1 -1
  108. package/dist/components/organisms/DialogBookingAddItem/AddItemNewService.js +2 -2
  109. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.d.ts +1 -1
  110. package/dist/components/organisms/DialogBookingAddItem/AddItemSelector.js +3 -3
  111. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.d.ts +1 -2
  112. package/dist/components/organisms/DialogBookingAddItem/DialogBookingAddItem.js +2 -2
  113. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.d.ts +1 -1
  114. package/dist/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.js +2 -2
  115. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.d.ts +1 -2
  116. package/dist/components/organisms/DialogBookingConfirm/BookingMailSent.js +2 -2
  117. package/dist/components/organisms/DialogBookingConfirm/BookingReference.d.ts +1 -2
  118. package/dist/components/organisms/DialogBookingConfirm/BookingReference.js +2 -2
  119. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.d.ts +1 -2
  120. package/dist/components/organisms/DialogBookingConfirm/BookingSuccess.js +2 -2
  121. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.d.ts +11 -7
  122. package/dist/components/organisms/DialogBookingConfirm/DialogBookingConfirm.js +2 -2
  123. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.d.ts +1 -2
  124. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.js +2 -2
  125. package/dist/components/organisms/DialogCancelService/CancelPolicy.d.ts +1 -2
  126. package/dist/components/organisms/DialogCancelService/CancelPolicy.js +2 -2
  127. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.d.ts +1 -2
  128. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.js +2 -2
  129. package/dist/components/organisms/DialogCancelService/DialogCancelService.d.ts +9 -7
  130. package/dist/components/organisms/DialogCancelService/DialogCancelService.js +2 -2
  131. package/dist/components/organisms/DialogCancelService/FromList.d.ts +1 -1
  132. package/dist/components/organisms/DialogCancelService/FromList.js +2 -2
  133. package/dist/components/organisms/DialogComparison/DialogComparison.d.ts +1 -1
  134. package/dist/components/organisms/DialogComparison/DialogComparison.js +2 -2
  135. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.d.ts +8 -6
  136. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.js +2 -2
  137. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.d.ts +1 -2
  138. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.js +2 -2
  139. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.d.ts +1 -1
  140. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.js +2 -2
  141. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.d.ts +1 -1
  142. package/dist/components/organisms/DialogQuoteRename/DialogQuoteRename.js +2 -2
  143. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.d.ts +7 -5
  144. package/dist/components/organisms/DialogSendingMail/DialogSendingMail.js +2 -2
  145. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.d.ts +1 -2
  146. package/dist/components/organisms/DialogSendingMail/DialogSendingMailContent.js +2 -2
  147. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.d.ts +1 -2
  148. package/dist/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.js +2 -2
  149. package/dist/components/organisms/QuoteHeader/QuoteHeader.d.ts +1 -4
  150. package/dist/components/organisms/QuoteHeader/QuoteHeader.js +2 -3
  151. package/dist/components/organisms/TabServiceDetails/Accommodation.d.ts +1 -2
  152. package/dist/components/organisms/TabServiceDetails/Accommodation.js +2 -2
  153. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.d.ts +1 -2
  154. package/dist/components/organisms/TabServiceDetails/DetailContentTransfer.js +2 -2
  155. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.d.ts +14 -1
  156. package/dist/components/organisms/TabServiceDetails/DetailsContentAccom.js +2 -2
  157. package/dist/components/organisms/TabServiceDetails/Excursion.d.ts +1 -2
  158. package/dist/components/organisms/TabServiceDetails/Excursion.js +2 -2
  159. package/dist/components/organisms/TabServiceDetails/TabServiceDetails.d.ts +3 -3
  160. package/dist/components/organisms/TabServiceDetails/Transfer.d.ts +1 -2
  161. package/dist/components/organisms/TabServiceDetails/Transfer.js +2 -2
  162. package/dist/components/organisms/Table/Table.d.ts +1 -1
  163. package/dist/components/organisms/Table/Table.js +2 -2
  164. package/package.json +1 -1
  165. package/src/components/molecules/ActionDropdown/ActionDropdown.tsx +3 -6
  166. package/src/components/molecules/AddItemButton/AddItemButton.tsx +3 -2
  167. package/src/components/molecules/BookingPax/BookingPax.tsx +2 -2
  168. package/src/components/molecules/BookingPax/BookingPaxAccom.tsx +3 -3
  169. package/src/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.tsx +2 -2
  170. package/src/components/molecules/BookingPax/BookingPaxExcursion.tsx +3 -3
  171. package/src/components/molecules/BookingPax/BookingPaxHeader.tsx +2 -2
  172. package/src/components/molecules/BookingPax/BookingPaxLayout/BookingPaxLayout.tsx +2 -2
  173. package/src/components/molecules/BookingPax/BookingPaxRemarks.tsx +3 -2
  174. package/src/components/molecules/BookingPax/BookingPaxTransfer.tsx +2 -2
  175. package/src/components/molecules/BookingResume/BookingResume.tsx +2 -2
  176. package/src/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.tsx +2 -2
  177. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +2 -3
  178. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +2 -3
  179. package/src/components/molecules/BookingResume/ResumeOtherService.tsx +2 -3
  180. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +2 -3
  181. package/src/components/molecules/Breadcrumbs/Breadcrumbs.tsx +2 -3
  182. package/src/components/molecules/DateDisplay/DateDisplay.tsx +11 -10
  183. package/src/components/molecules/DetailsInfo/DetailsAction.tsx +2 -3
  184. package/src/components/molecules/DetailsInfo/DetailsAgency/DetailsAgency.tsx +2 -2
  185. package/src/components/molecules/DetailsInfo/DetailsClient/DetailsClient.tsx +2 -3
  186. package/src/components/molecules/DetailsInfo/DetailsFile.tsx +2 -3
  187. package/src/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.tsx +2 -2
  188. package/src/components/molecules/DialogContentPolicy/DialogCancellationAccom.tsx +2 -4
  189. package/src/components/molecules/DialogContentPolicy/DialogCancellationExcursion.tsx +2 -4
  190. package/src/components/molecules/DialogContentPolicy/DialogCancellationList.tsx +4 -5
  191. package/src/components/molecules/DialogContentPolicy/DialogContentPolicy.tsx +2 -2
  192. package/src/components/molecules/FromTo/FromTo.tsx +2 -2
  193. package/src/components/molecules/GlobalAmenities/GlobalAmenities.tsx +2 -3
  194. package/src/components/molecules/PaxChips/PaxChips.tsx +2 -3
  195. package/src/components/molecules/PaxDisplay/PaxDisplay.tsx +2 -2
  196. package/src/components/molecules/ServiceTitle/ServiceTitle.tsx +2 -2
  197. package/src/components/molecules/StepperTimeline/StepperTimeline.tsx +2 -2
  198. package/src/components/molecules/TableServiceItem/DetailsCol.tsx +2 -2
  199. package/src/components/molecules/TableServiceItem/ItemCol.tsx +2 -2
  200. package/src/components/molecules/TableServiceItem/RowAccommodation.tsx +17 -7
  201. package/src/components/molecules/TableServiceItem/RowExcursion.tsx +12 -6
  202. package/src/components/molecules/TableServiceItem/RowOtherServices.tsx +4 -5
  203. package/src/components/molecules/TableServiceItem/RowTransfer.tsx +4 -7
  204. package/src/components/molecules/TextWithBorderBottom/TextWithBorderBottom.tsx +2 -3
  205. package/src/components/molecules/TextWithIcon/TextWithIcon.tsx +2 -2
  206. package/src/components/molecules/TimelineItem/ServiceAccommodation.tsx +2 -3
  207. package/src/components/molecules/TimelineItem/ServiceExcursion.tsx +2 -3
  208. package/src/components/molecules/TimelineItem/ServiceTransfer.tsx +2 -3
  209. package/src/components/molecules/TimelineItem/TimelineHeader.tsx +2 -3
  210. package/src/components/molecules/Toast/Toast.tsx +9 -9
  211. package/src/components/molecules/TooltipDisplay/TooltipDisplay.tsx +2 -2
  212. package/src/components/organisms/Booking/BookingDocket/BookingDocket.tsx +2 -2
  213. package/src/components/organisms/Booking/BookingHeader.tsx +2 -3
  214. package/src/components/organisms/Booking/BookingPaxList.tsx +3 -3
  215. package/src/components/organisms/Booking/BookingStep/BookingStep.tsx +3 -3
  216. package/src/components/organisms/DialogBookingAddItem/AddItemNewService.tsx +2 -2
  217. package/src/components/organisms/DialogBookingAddItem/AddItemSelector.tsx +3 -2
  218. package/src/components/organisms/DialogBookingAddItem/DialogBookingAddItem.tsx +3 -3
  219. package/src/components/organisms/DialogBookingConfirm/BookingCancellationPolicy.tsx +2 -2
  220. package/src/components/organisms/DialogBookingConfirm/BookingMailSent.tsx +2 -3
  221. package/src/components/organisms/DialogBookingConfirm/BookingReference.tsx +3 -3
  222. package/src/components/organisms/DialogBookingConfirm/BookingSuccess.tsx +2 -3
  223. package/src/components/organisms/DialogBookingConfirm/DialogBookingConfirm.tsx +2 -2
  224. package/src/components/organisms/DialogCancelService/CancelBooking/CancelBooking.tsx +3 -3
  225. package/src/components/organisms/DialogCancelService/CancelPolicy.tsx +2 -3
  226. package/src/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.tsx +2 -3
  227. package/src/components/organisms/DialogCancelService/DialogCancelService.tsx +2 -2
  228. package/src/components/organisms/DialogCancelService/FromList.tsx +3 -3
  229. package/src/components/organisms/DialogComparison/DialogComparison.tsx +2 -2
  230. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirm.tsx +2 -2
  231. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.tsx +3 -5
  232. package/src/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmWrapper.tsx +2 -2
  233. package/src/components/organisms/DialogQuoteRename/DialogQuoteRename.tsx +2 -2
  234. package/src/components/organisms/DialogSendingMail/DialogSendingMail.tsx +2 -2
  235. package/src/components/organisms/DialogSendingMail/DialogSendingMailContent.tsx +3 -5
  236. package/src/components/organisms/DialogSendingMail/DialogSendingMailMultiple/DialogSendingMailMultiple.tsx +3 -5
  237. package/src/components/organisms/QuoteHeader/QuoteHeader.tsx +2 -4
  238. package/src/components/organisms/TabServiceDetails/Accommodation.tsx +2 -3
  239. package/src/components/organisms/TabServiceDetails/DetailContentTransfer.tsx +2 -3
  240. package/src/components/organisms/TabServiceDetails/DetailsContentAccom.tsx +3 -3
  241. package/src/components/organisms/TabServiceDetails/Excursion.tsx +2 -3
  242. package/src/components/organisms/TabServiceDetails/Transfer.tsx +2 -3
  243. package/src/components/organisms/Table/Table.tsx +2 -2
@@ -20,7 +20,8 @@ export interface BookingPaxRemarksProps {
20
20
  * @param props - The props for the BookingPaxRemarks component.
21
21
  * @returns The BookingPaxRemarks component.
22
22
  */
23
- export const BookingPaxRemarks: React.FC<BookingPaxRemarksProps> = ({ onChange }) => {
23
+ export function BookingPaxRemarks(props: BookingPaxRemarksProps) {
24
+ const { onChange } = props;
24
25
  const [remarks, setRemarks] = useState('');
25
26
 
26
27
  const textareaRef = useRef<HTMLTextAreaElement>(null);
@@ -57,4 +58,4 @@ export const BookingPaxRemarks: React.FC<BookingPaxRemarksProps> = ({ onChange }
57
58
  />
58
59
  </div>
59
60
  );
60
- };
61
+ }
@@ -89,7 +89,7 @@ export const mapTransferType: Record<BookingPaxTransferProps['type'], string> =
89
89
  * @param props - The props for the BookingPaxTransfer component.
90
90
  * @returns The BookingPaxTransfer component.
91
91
  */
92
- export const BookingPaxTransfer: React.FC<BookingPaxTransferProps> = (props) => {
92
+ export function BookingPaxTransfer(props: BookingPaxTransferProps) {
93
93
  const {
94
94
  from,
95
95
  to,
@@ -168,4 +168,4 @@ export const BookingPaxTransfer: React.FC<BookingPaxTransferProps> = (props) =>
168
168
  <BookingPaxRemarks onChange={onRemarkChange} />
169
169
  </BookingPaxLayout>
170
170
  );
171
- };
171
+ }
@@ -5,9 +5,9 @@ import { ResumeExcursion } from './ResumeExcursion/ResumeExcursion';
5
5
  import { ResumeOtherService } from './ResumeOtherService';
6
6
  import { ResumeTransfer } from './ResumeTransfer';
7
7
 
8
- export const BookingResume = (props: React.PropsWithChildren) => {
8
+ export function BookingResume(props: React.PropsWithChildren) {
9
9
  return <div className="booking-resume space-y-8" {...props} />;
10
- };
10
+ }
11
11
 
12
12
  BookingResume.Layout = BookingResumeLayout;
13
13
  BookingResume.Accommodation = ResumeAccom;
@@ -12,7 +12,7 @@ export interface BookingResumeLayoutProps {
12
12
  className?: string;
13
13
  }
14
14
 
15
- export const BookingResumeLayout: React.FC<BookingResumeLayoutProps> = (props) => {
15
+ export function BookingResumeLayout(props: BookingResumeLayoutProps) {
16
16
  const { title, icon, image, children, className } = props;
17
17
  return (
18
18
  <div className={cn('booking-resume-layout', className)}>
@@ -34,4 +34,4 @@ export const BookingResumeLayout: React.FC<BookingResumeLayoutProps> = (props) =
34
34
  </div>
35
35
  </div>
36
36
  );
37
- };
37
+ }
@@ -1,7 +1,6 @@
1
1
  import useStays from '@/src/hooks/useStays';
2
2
  import { RoomItem } from '@/src/types/table';
3
3
  import { BookingPax } from '@/src/types/table/booking.types';
4
- import React from 'react';
5
4
  import { Text } from '../../../atoms/Typography/Typography';
6
5
  import { DateDisplay } from '../../DateDisplay/DateDisplay';
7
6
  import { PaxDisplay } from '../../PaxDisplay/PaxDisplay';
@@ -20,7 +19,7 @@ export interface ResumeAccomProps {
20
19
  rooms: Partial<RoomItem>[];
21
20
  }
22
21
 
23
- export const ResumeAccom: React.FC<ResumeAccomProps> = (props) => {
22
+ export function ResumeAccom(props: ResumeAccomProps) {
24
23
  const { image, dates, clientType, pax, rooms, hotelName } = props;
25
24
 
26
25
  const stay = useStays(dates);
@@ -60,4 +59,4 @@ export const ResumeAccom: React.FC<ResumeAccomProps> = (props) => {
60
59
  </div>
61
60
  </BookingResumeLayout>
62
61
  );
63
- };
62
+ }
@@ -1,5 +1,4 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  import { Text } from '../../../atoms/Typography/Typography';
4
3
  import { DateDisplay } from '../../DateDisplay/DateDisplay';
5
4
  import { PaxDisplay } from '../../PaxDisplay/PaxDisplay';
@@ -26,7 +25,7 @@ const mapType: Record<ResumeExcursionProps['type'], string> = {
26
25
  catamaran: 'Cruise excursion',
27
26
  };
28
27
 
29
- export const ResumeExcursion: React.FC<ResumeExcursionProps> = (props) => {
28
+ export function ResumeExcursion(props: ResumeExcursionProps) {
30
29
  const {
31
30
  image,
32
31
  date,
@@ -72,4 +71,4 @@ export const ResumeExcursion: React.FC<ResumeExcursionProps> = (props) => {
72
71
  </div>
73
72
  </BookingResumeLayout>
74
73
  );
75
- };
74
+ }
@@ -1,5 +1,4 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  import { PaxDisplay } from '../PaxDisplay/PaxDisplay';
4
3
  import TextWithIcon from '../TextWithIcon/TextWithIcon';
5
4
  import { BookingResumeLayout } from './BookingResumeLayout/BookingResumeLayout';
@@ -8,7 +7,7 @@ export interface ResumeOtherServiceProps {
8
7
  pax: BookingPax;
9
8
  }
10
9
 
11
- export const ResumeOtherService: React.FC<ResumeOtherServiceProps> = (props) => {
10
+ export function ResumeOtherService(props: ResumeOtherServiceProps) {
12
11
  const { pax } = props;
13
12
  return (
14
13
  <BookingResumeLayout title="Other Services" icon="more">
@@ -18,4 +17,4 @@ export const ResumeOtherService: React.FC<ResumeOtherServiceProps> = (props) =>
18
17
  </div>
19
18
  </BookingResumeLayout>
20
19
  );
21
- };
20
+ }
@@ -1,5 +1,4 @@
1
1
  import { BookingPax } from '@/src/types/table/booking.types';
2
- import React from 'react';
3
2
  import { Text } from '../../atoms/Typography/Typography';
4
3
  import { DateDisplay } from '../DateDisplay/DateDisplay';
5
4
  import FromTo, { FromToProps } from '../FromTo/FromTo';
@@ -16,7 +15,7 @@ export interface ResumeTransferProps {
16
15
  image: string;
17
16
  }
18
17
 
19
- export const ResumeTransfer: React.FC<ResumeTransferProps> = (props) => {
18
+ export function ResumeTransfer(props: ResumeTransferProps) {
20
19
  const { type, pax, date, location, carName, image } = props;
21
20
 
22
21
  const transferType =
@@ -46,4 +45,4 @@ export const ResumeTransfer: React.FC<ResumeTransferProps> = (props) => {
46
45
  </div>
47
46
  </BookingResumeLayout>
48
47
  );
49
- };
48
+ }
@@ -1,5 +1,4 @@
1
1
  import { cn } from '@/src/lib/utils';
2
- import React from 'react';
3
2
  import Icon from '../../atoms/Icon/Icon';
4
3
  import { Text } from '../../atoms/Typography/Typography';
5
4
  import './Breadcrumbs.css';
@@ -14,7 +13,7 @@ export interface BreadcrumbsProps {
14
13
  onBack?: () => void;
15
14
  }
16
15
 
17
- export const Breadcrumbs: React.FC<BreadcrumbsProps> = (props) => {
16
+ export function Breadcrumbs(props: BreadcrumbsProps) {
18
17
  const { items, onBack } = props;
19
18
 
20
19
  return (
@@ -44,4 +43,4 @@ export const Breadcrumbs: React.FC<BreadcrumbsProps> = (props) => {
44
43
  ))}
45
44
  </ol>
46
45
  );
47
- };
46
+ }
@@ -1,5 +1,5 @@
1
1
  import { format, isValid } from 'date-fns';
2
- import React, { Fragment, useMemo } from 'react';
2
+ import { Fragment, useMemo } from 'react';
3
3
  import Icon from '../../atoms/Icon/Icon';
4
4
  import { Text, TextProps } from '../../atoms/Typography/Typography';
5
5
  import './DateDisplay.css';
@@ -35,14 +35,15 @@ export interface DateDisplayProps {
35
35
  * @param DateDisplayProps
36
36
  * @returns
37
37
  */
38
- export const DateDisplay: React.FC<DateDisplayProps> = ({
39
- dates = [],
40
- arrowSize = 'sm',
41
- calendarSize = 'sm',
42
- textSize = 'sm',
43
- colorMode = 'black',
44
- className = '',
45
- }) => {
38
+ export function DateDisplay(props: DateDisplayProps) {
39
+ const {
40
+ dates = [],
41
+ arrowSize = 'sm',
42
+ calendarSize = 'sm',
43
+ textSize = 'sm',
44
+ colorMode = 'black',
45
+ className = '',
46
+ } = props;
46
47
  const formattedDates = useMemo(() => {
47
48
  return dates.map((d) => {
48
49
  const dateObj = typeof d === 'string' ? new Date(d) : d;
@@ -92,4 +93,4 @@ export const DateDisplay: React.FC<DateDisplayProps> = ({
92
93
  ))}
93
94
  </div>
94
95
  );
95
- };
96
+ }
@@ -1,6 +1,5 @@
1
1
  import { cn } from '@/src/lib/utils';
2
2
  import { ActionDropdownType } from '@/src/types/table';
3
- import React from 'react';
4
3
  import Button, { ButtonProps } from '../../atoms/Button/Button';
5
4
  import { ActionDropdown, ActionDropdownItem } from '../ActionDropdown/ActionDropdown';
6
5
 
@@ -14,7 +13,7 @@ export interface DetailsActionProps {
14
13
  dropdownMaxWidth?: string;
15
14
  }
16
15
 
17
- export const DetailsAction: React.FC<DetailsActionProps> = (props) => {
16
+ export function DetailsAction(props: DetailsActionProps) {
18
17
  const {
19
18
  data = [],
20
19
  onAction,
@@ -65,4 +64,4 @@ export const DetailsAction: React.FC<DetailsActionProps> = (props) => {
65
64
  </Button>
66
65
  </ActionDropdown>
67
66
  );
68
- };
67
+ }
@@ -14,7 +14,7 @@ export interface DetailsAgencyProps {
14
14
  children?: React.ReactNode;
15
15
  }
16
16
 
17
- export const DetailsAgency: React.FC<DetailsAgencyProps> = (props) => {
17
+ export function DetailsAgency(props: DetailsAgencyProps) {
18
18
  const { name, clientType, isOnRequest, children } = props;
19
19
  return (
20
20
  <div className="flex flex-col gap-y-6 items-end">
@@ -54,4 +54,4 @@ export const DetailsAgency: React.FC<DetailsAgencyProps> = (props) => {
54
54
  {children}
55
55
  </div>
56
56
  );
57
- };
57
+ }
@@ -1,6 +1,5 @@
1
1
  import Chip from '@/src/components/atoms/Chip/Chip';
2
2
  import { Text } from '@/src/components/atoms/Typography/Typography';
3
- import React from 'react';
4
3
  import { languagesMap } from '../../ServiceLanguages/constant';
5
4
  import './DetailsClient.css';
6
5
 
@@ -16,7 +15,7 @@ export interface DetailsClientInfoProps {
16
15
  clients: DetailsClientInfoItem[];
17
16
  }
18
17
 
19
- export const DetailsClientInfo: React.FC<DetailsClientInfoProps> = (props) => {
18
+ export function DetailsClientInfo(props: DetailsClientInfoProps) {
20
19
  const { language, clients } = props;
21
20
  return (
22
21
  <div className="details-client">
@@ -53,4 +52,4 @@ export const DetailsClientInfo: React.FC<DetailsClientInfoProps> = (props) => {
53
52
  </div>
54
53
  </div>
55
54
  );
56
- };
55
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { Text } from '../../atoms/Typography/Typography';
3
2
 
4
3
  export interface DetailsFileProps {
@@ -14,7 +13,7 @@ export interface DetailsFileProps {
14
13
  showRegularInfo?: boolean;
15
14
  }
16
15
 
17
- export const DetailsFile: React.FC<DetailsFileProps> = (props) => {
16
+ export function DetailsFile(props: DetailsFileProps) {
18
17
  const {
19
18
  number,
20
19
  name,
@@ -39,4 +38,4 @@ export const DetailsFile: React.FC<DetailsFileProps> = (props) => {
39
38
  </Text>
40
39
  </div>
41
40
  );
42
- };
41
+ }
@@ -15,7 +15,7 @@ export interface CancellationLayoutProps {
15
15
  currency?: string;
16
16
  }
17
17
 
18
- export const CancellationLayout: React.FC<CancellationLayoutProps> = (props) => {
18
+ export function CancellationLayout(props: CancellationLayoutProps) {
19
19
  const { title, icon, children, className, image, cancellationFee, currency } = props;
20
20
  return (
21
21
  <div className={cn('cancellation-layout', className)}>
@@ -36,4 +36,4 @@ export const CancellationLayout: React.FC<CancellationLayoutProps> = (props) =>
36
36
  )}
37
37
  </div>
38
38
  );
39
- };
39
+ }
@@ -16,9 +16,7 @@ export interface DialogCancellationAccomProps {
16
16
  currency?: string;
17
17
  }
18
18
 
19
- export const DialogCancellationAccom: React.FC<DialogCancellationAccomProps> = (
20
- props
21
- ) => {
19
+ export function DialogCancellationAccom(props: DialogCancellationAccomProps) {
22
20
  const { image, hotelName, dates, rooms, cancellationFee, currency } = props;
23
21
  const stay = useStays(dates);
24
22
 
@@ -69,4 +67,4 @@ export const DialogCancellationAccom: React.FC<DialogCancellationAccomProps> = (
69
67
  </div>
70
68
  </CancellationLayout>
71
69
  );
72
- };
70
+ }
@@ -21,9 +21,7 @@ export interface DialogCancellationExcursionProps {
21
21
  currency?: string;
22
22
  }
23
23
 
24
- export const DialogCancellationExcursion: React.FC<DialogCancellationExcursionProps> = (
25
- props
26
- ) => {
24
+ export function DialogCancellationExcursion(props: DialogCancellationExcursionProps) {
27
25
  const { image, excursionName, date, details, policy, cancellationFee, currency } =
28
26
  props;
29
27
 
@@ -64,4 +62,4 @@ export const DialogCancellationExcursion: React.FC<DialogCancellationExcursionPr
64
62
  </div>
65
63
  </CancellationLayout>
66
64
  );
67
- };
65
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import {
3
2
  DialogCancellationAccom,
4
3
  DialogCancellationAccomProps,
@@ -39,7 +38,7 @@ const isExcursion = (
39
38
  return 'excursionName' in data;
40
39
  };
41
40
 
42
- export const CancellationsList = (props: DialogCancellationListProps) => {
41
+ export function CancellationsList(props: DialogCancellationListProps) {
43
42
  const { cancellations } = props;
44
43
  return (
45
44
  <>
@@ -54,7 +53,7 @@ export const CancellationsList = (props: DialogCancellationListProps) => {
54
53
  })}
55
54
  </>
56
55
  );
57
- };
56
+ }
58
57
 
59
58
  /**
60
59
  * DialogCancellationList is a component that allows the user to display the cancellations.
@@ -67,10 +66,10 @@ export const CancellationsList = (props: DialogCancellationListProps) => {
67
66
  * @param props - The props for the DialogCancellationList component.
68
67
  * @returns The DialogCancellationList component.
69
68
  */
70
- export const DialogCancellationList: React.FC<DialogCancellationListProps> = (props) => {
69
+ export function DialogCancellationList(props: DialogCancellationListProps) {
71
70
  return (
72
71
  <DialogContentPolicy>
73
72
  <CancellationsList {...props} />
74
73
  </DialogContentPolicy>
75
74
  );
76
- };
75
+ }
@@ -28,7 +28,7 @@ export interface DialogContentPolicyProps {
28
28
  * @param props - The props for the DialogContentPolicy component.
29
29
  * @returns The DialogContentPolicy component.
30
30
  */
31
- export const DialogContentPolicy = (props: DialogContentPolicyProps) => {
31
+ export function DialogContentPolicy(props: DialogContentPolicyProps) {
32
32
  const { children, onSubmit } = props;
33
33
  const [accepted, setAccepted] = useState<boolean>(false);
34
34
 
@@ -54,7 +54,7 @@ export const DialogContentPolicy = (props: DialogContentPolicyProps) => {
54
54
  </div>
55
55
  </div>
56
56
  );
57
- };
57
+ }
58
58
 
59
59
  DialogContentPolicy.Accommodation = DialogCancellationAccom;
60
60
  DialogContentPolicy.Excursion = DialogCancellationExcursion;
@@ -7,7 +7,7 @@ export interface FromToProps {
7
7
  transferType?: string;
8
8
  }
9
9
 
10
- const FromTo: React.FC<Omit<FromToProps, 'transferType'>> = (props) => {
10
+ function FromTo(props: Omit<FromToProps, 'transferType'>) {
11
11
  const { from, to } = props;
12
12
 
13
13
  const getTransferLocationName = (location?: string) => {
@@ -26,6 +26,6 @@ const FromTo: React.FC<Omit<FromToProps, 'transferType'>> = (props) => {
26
26
  </Text>
27
27
  </div>
28
28
  );
29
- };
29
+ }
30
30
 
31
31
  export default FromTo;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import CardServiceAccom from '../../atoms/CardServiceAccom/CardServiceAccom';
3
2
  import Chip from '../../atoms/Chip/Chip';
4
3
  import { Text } from '../../atoms/Typography/Typography';
@@ -12,7 +11,7 @@ export interface GlobalAmenitiesProps {
12
11
  amenities: GlobalAmenity[];
13
12
  }
14
13
 
15
- export const GlobalAmenities: React.FC<GlobalAmenitiesProps> = (props) => {
14
+ export function GlobalAmenities(props: GlobalAmenitiesProps) {
16
15
  const { amenities } = props;
17
16
  return (
18
17
  <CardServiceAccom className="space-y-4" withBorderLeft>
@@ -32,4 +31,4 @@ export const GlobalAmenities: React.FC<GlobalAmenitiesProps> = (props) => {
32
31
  </div>
33
32
  </CardServiceAccom>
34
33
  );
35
- };
34
+ }
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Chip from '../../atoms/Chip/Chip';
3
2
 
4
3
  export interface PaxCount {
@@ -12,7 +11,7 @@ export interface PaxChipsProps {
12
11
  pax: PaxCount;
13
12
  }
14
13
 
15
- export const PaxChips: React.FC<PaxChipsProps> = (props) => {
14
+ export function PaxChips(props: PaxChipsProps) {
16
15
  const { pax } = props;
17
16
  return (
18
17
  <div className="flex flex-wrap gap-2">
@@ -27,4 +26,4 @@ export const PaxChips: React.FC<PaxChipsProps> = (props) => {
27
26
  ))}
28
27
  </div>
29
28
  );
30
- };
29
+ }
@@ -15,7 +15,7 @@ const paxLabel: Record<keyof BookingPax, string> = {
15
15
  infant: 'Infant',
16
16
  };
17
17
 
18
- export const PaxDisplay: React.FC<PaxDisplayProps> = (props) => {
18
+ export function PaxDisplay(props: PaxDisplayProps) {
19
19
  const { pax } = props;
20
20
  return (
21
21
  <div className="pax-display">
@@ -56,4 +56,4 @@ export const PaxDisplay: React.FC<PaxDisplayProps> = (props) => {
56
56
  ))}
57
57
  </div>
58
58
  );
59
- };
59
+ }
@@ -13,7 +13,7 @@ export interface ServiceTitleProps {
13
13
  iconSize?: IconBaseProps['size'];
14
14
  }
15
15
 
16
- export const ServiceTitle: React.FC<ServiceTitleProps> = (props) => {
16
+ export function ServiceTitle(props: ServiceTitleProps) {
17
17
  const {
18
18
  title,
19
19
  textSize = 'md',
@@ -34,4 +34,4 @@ export const ServiceTitle: React.FC<ServiceTitleProps> = (props) => {
34
34
  <span>{title}</span>
35
35
  </Text>
36
36
  );
37
- };
37
+ }
@@ -23,7 +23,7 @@ export interface StepperTimelineProps {
23
23
  onChange?: (step: StepperTimelineItem, index: number) => void;
24
24
  }
25
25
 
26
- const StepperTimelineItem: React.FC<StepperTimelineItemProps> = (props) => {
26
+ function StepperTimelineItem(props: StepperTimelineItemProps) {
27
27
  const { label, current, index, textAlign = 'center', onChange } = props;
28
28
  return (
29
29
  <div className="stepper-timeline-item">
@@ -47,7 +47,7 @@ const StepperTimelineItem: React.FC<StepperTimelineItemProps> = (props) => {
47
47
  </div>
48
48
  </div>
49
49
  );
50
- };
50
+ }
51
51
 
52
52
  export function StepperTimeline(props: StepperTimelineProps) {
53
53
  const { steps, className, currentIndex = 0, onChange } = props;
@@ -14,7 +14,7 @@ export interface DetailsColProps {
14
14
  className?: string;
15
15
  }
16
16
 
17
- export const DetailsCol: React.FC<DetailsColProps> = (props) => {
17
+ export function DetailsCol(props: DetailsColProps) {
18
18
  const { data, className } = props;
19
19
 
20
20
  return (
@@ -26,4 +26,4 @@ export const DetailsCol: React.FC<DetailsColProps> = (props) => {
26
26
  ))}
27
27
  </div>
28
28
  );
29
- };
29
+ }
@@ -15,7 +15,7 @@ export interface ItemColProps {
15
15
  children?: React.ReactNode;
16
16
  }
17
17
 
18
- export const ItemCol: React.FC<ItemColProps> = (props) => {
18
+ export function ItemCol(props: ItemColProps) {
19
19
  const {
20
20
  serviceType,
21
21
  serviceName,
@@ -65,4 +65,4 @@ export const ItemCol: React.FC<ItemColProps> = (props) => {
65
65
  )}
66
66
  </div>
67
67
  );
68
- };
68
+ }
@@ -1,5 +1,5 @@
1
1
  import { differenceInDays } from 'date-fns';
2
- import React, { useMemo } from 'react';
2
+ import { useMemo } from 'react';
3
3
  import { DetailsCol as DetailsColComponent } from './DetailsCol';
4
4
  import { ItemCol, ItemColProps } from './ItemCol';
5
5
 
@@ -24,7 +24,7 @@ export function RowAccommodation() {
24
24
  return <></>;
25
25
  }
26
26
 
27
- const DetailsCol: React.FC<RowAccommodationProps> = (props) => {
27
+ function DetailsCol(props: RowAccommodationProps) {
28
28
  const { data, index = 0 } = props;
29
29
 
30
30
  const stay = useMemo(() => {
@@ -39,18 +39,28 @@ const DetailsCol: React.FC<RowAccommodationProps> = (props) => {
39
39
  data={[
40
40
  { icon: 'calendar2', value: `Room ${index + 1} : ${data.RoomName}` },
41
41
  { icon: 'night', value: `${stay} Nights` },
42
- { icon: 'user', value: `Client type : ${clientType[data.ClientCategory?.toLowerCase() as string]}` },
42
+ {
43
+ icon: 'user',
44
+ value: `Client type : ${clientType[data.ClientCategory?.toLowerCase() as string]}`,
45
+ },
43
46
  { icon: 'utensils', value: `Meal plan : ${data.MealPlan}` },
44
47
  ]}
45
48
  />
46
49
  );
47
- };
50
+ }
48
51
 
49
- const FirstCol: React.FC<Omit<ItemColProps, 'serviceType'>> = (props) => {
52
+ function FirstCol(props: Omit<ItemColProps, 'serviceType'>) {
50
53
  const { serviceName, offers, status } = props;
51
54
 
52
- return <ItemCol serviceType="Accommodation" serviceName={serviceName} offers={offers} status={status} />;
53
- };
55
+ return (
56
+ <ItemCol
57
+ serviceType="Accommodation"
58
+ serviceName={serviceName}
59
+ offers={offers}
60
+ status={status}
61
+ />
62
+ );
63
+ }
54
64
 
55
65
  RowAccommodation.FirstCol = FirstCol;
56
66
  RowAccommodation.DetailsCol = DetailsCol;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { DetailsCol as DetailsColComponent } from './DetailsCol';
3
2
  import { ItemCol, ItemColProps } from './ItemCol';
4
3
 
@@ -15,7 +14,7 @@ export function RowExcursion() {
15
14
  return <></>;
16
15
  }
17
16
 
18
- export const DetailsCol: React.FC<RowExcursionProps> = (props) => {
17
+ export function DetailsCol(props: RowExcursionProps) {
19
18
  const { data } = props;
20
19
 
21
20
  return (
@@ -28,13 +27,20 @@ export const DetailsCol: React.FC<RowExcursionProps> = (props) => {
28
27
  ]}
29
28
  />
30
29
  );
31
- };
30
+ }
32
31
 
33
- const FirstCol: React.FC<Omit<ItemColProps, 'serviceType' | 'status'>> = (props) => {
32
+ function FirstCol(props: Omit<ItemColProps, 'serviceType' | 'status'>) {
34
33
  const { serviceName, offers } = props;
35
34
 
36
- return <ItemCol serviceType="Excursion" serviceName={serviceName} offers={offers} iconName="map" />;
37
- };
35
+ return (
36
+ <ItemCol
37
+ serviceType="Excursion"
38
+ serviceName={serviceName}
39
+ offers={offers}
40
+ iconName="map"
41
+ />
42
+ );
43
+ }
38
44
 
39
45
  RowExcursion.FirstCol = FirstCol;
40
46
  RowExcursion.DetailsCol = DetailsCol;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import Icon from '../../atoms/Icon/Icon';
3
2
  import { Text } from '../../atoms/Typography/Typography';
4
3
  import { TooltipDisplay } from '../TooltipDisplay/TooltipDisplay';
@@ -9,7 +8,7 @@ export function RowOtherServices() {
9
8
  return <></>;
10
9
  }
11
10
 
12
- export const DetailsCol = () => {
11
+ export function DetailsCol() {
13
12
  return (
14
13
  <DetailsColComponent
15
14
  data={[
@@ -34,9 +33,9 @@ export const DetailsCol = () => {
34
33
  ]}
35
34
  />
36
35
  );
37
- };
36
+ }
38
37
 
39
- const FirstCol: React.FC<Omit<ItemColProps, 'serviceType' | 'status'>> = (props) => {
38
+ function FirstCol(props: Omit<ItemColProps, 'serviceType' | 'status'>) {
40
39
  return (
41
40
  <ItemCol
42
41
  serviceType="Other Services"
@@ -45,7 +44,7 @@ const FirstCol: React.FC<Omit<ItemColProps, 'serviceType' | 'status'>> = (props)
45
44
  showName={false}
46
45
  />
47
46
  );
48
- };
47
+ }
49
48
 
50
49
  RowOtherServices.FirstCol = FirstCol;
51
50
  RowOtherServices.DetailsCol = DetailsCol;