+ {/* Identity */}
+
+
Identity
+
+
+
+
+
+
+
+
+
+
+ {/* Build */}
+ {(yacht.builder || yacht.model || yacht.hullMaterial) && (
+
+ )}
+
+ {/* Dimensions (ft) */}
+ {hasFtDimensions && (
+
+
Dimensions (ft)
+
+
+
+
+
+
+ )}
+
+ {/* Dimensions (m) */}
+ {hasMDimensions && (
+
+
Dimensions (m)
+
+
+
+
+
+
+ )}
+
+ {/* Notes */}
+ {yacht.notes && (
+
+
Notes
+
+ {yacht.notes}
+
+
+ )}
+
+ );
+}
+
+export function getYachtTabs({
+ yachtId,
+ // currentUserId reserved for when NotesList supports entityType='yachts'.
+ currentUserId: _currentUserId,
+ yacht,
+}: YachtTabsOptions): DetailTab[] {
+ void _currentUserId;
+
+ return [
+ {
+ id: 'overview',
+ label: 'Overview',
+ content: