import * as React from "react"; import { SharedIconContainer } from "./styled"; import Icon from "react-native-vector-icons/MaterialCommunityIcons"; import { TouchableOpacity } from "react-native"; import { postOnFacebook, postOnTwitter, copyUrl } from "./social-media"; import { VideoItem } from "../video/video"; export type SharedIconsProps = { background: string; color: string; icon: string; data?: VideoItem; }; function ShareIcon({ background, color, icon, data }: SharedIconsProps) { let shareURL = "https://www.bowltv.com/?v=" + data?._id; let shareMessage = data?.data.title; let iframeUrl = `