diff --git a/src/components/Divider.js b/src/components/Divider.js new file mode 100644 index 0000000..95bb0e5 --- /dev/null +++ b/src/components/Divider.js @@ -0,0 +1,19 @@ +import React from "react"; +import { View, Text } from "react-native"; +import tw from "tailwind-rn"; + +const Divider = ({ type }) => { + return ( + + ); +}; + +export default Divider; diff --git a/src/screens/Products/components/Video.js b/src/screens/Products/components/Video.js index c07f6b6..9b63cd1 100644 --- a/src/screens/Products/components/Video.js +++ b/src/screens/Products/components/Video.js @@ -21,10 +21,6 @@ function Video({ - {[0, 1, 2, 3, 4, 5, 6, 7].map((item, i) => - productType === "ویدئوها" ?