-
+
- {renderContent()}
+ {(name || label) && (
+
+ {name ? (
+ {name}
+ ) : (
+ <>
+ {label}
+ {text && (
+
+
+ @{text}
+
+
+ )}
+ >
+ )}
+
+ )}
+
+ {showTitle && (
+
+ {showTitle}
+
+ )}
-
- {nodeType === 'clip' || (nodeType === 'episode' && Episode)}
+ {episodeTitle && (
+
+
+ {episodeTitle}
+
+
+ )}
- {nodeType === 'clip' ? (
+ {description && (
+
{formatDescription(description)}
- ) : (
+
+ )}
+
+ {twitterHandle && (
+
- {episodeTitle}
+ @{twitterHandle}
- )}
-
-
-
- {nodeType === 'clip' && Episode}
-
-
- {nodeType === 'clip' ? episodeTitle : formatDescription(description)}
-
-
+
+ )}
- {guests && (
+ {guestArray && guestArray.length > 0 && (
People
- {isGuestArrObj
- ? (guestArray as Guests[])
- .map((guest) => {
- if (guest.name) {
- return guest.name
- }
-
- return `@${guest.twitter_handle}`
- })
- .join(', ')
- : guestArray?.join(', ')}
+ {guests && (
+
+ Guests:
+
+ {isGuestArrObj
+ ? (guestArray as Guests[]).map((guest) => `@${guest?.twitter_handle}`).join(', ')
+ : guestArray.join(', ')}
+
+
+ )}