mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-03-24 18:26:30 +00:00
wip: build for tv
This commit is contained in:
@@ -133,6 +133,7 @@ const _InfoRow: React.FC<{ label: string; value: string }> = ({
|
||||
</View>
|
||||
);
|
||||
|
||||
// Export as both ItemContentTV (for direct requires) and ItemContent (for platform-resolved imports)
|
||||
export const ItemContentTV: React.FC<ItemContentTVProps> = React.memo(
|
||||
({ item, itemWithSources }) => {
|
||||
const [api] = useAtom(apiAtom);
|
||||
@@ -608,3 +609,6 @@ export const ItemContentTV: React.FC<ItemContentTVProps> = React.memo(
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
// Alias for platform-resolved imports (tvOS auto-resolves .tv.tsx files)
|
||||
export const ItemContent = ItemContentTV;
|
||||
|
||||
Reference in New Issue
Block a user