You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
569 B

import React from "react";
import { View, Text, Dimensions } from "react-native";
import tw from "tailwind-rn";
const {width} = Dimensions.get("window");
export default function Video({ name, file }) {
return (
<View style={tw("w-full flex-col mt-5")}>
<Text
style={[
tw("w-full text-right text-green-900 mb-2"),
{ fontSize: width / 34, fontFamily: "bold" },
]}
>
{name}
</Text>
<View
style={[tw("w-full bg-blue-200 rounded-md"), { minHeight: 200 }]}
></View>
</View>
);
}