import * as React from "react"; import { ChannelItem } from "./channel"; import { View } from "react-native"; import { VideoPreview } from "../video/video-preview"; import { Playlist } from "../playlist"; export const Channel = ({ item }: { item: ChannelItem }) => { if (item.data.gate.kind === "none") return null; return ( {item.data.content.offline?.video_content?.map((item) => item.kind !== "video" ? ( ) : ( ) )} {item.data.content.live?.schedule.map((item) => ( ))} ); }; export * from "./channel";