parent
81c2c27249
commit
ab71241656
9 changed files with 159 additions and 122 deletions
@ -1,46 +0,0 @@ |
||||
import React from "react"; |
||||
import { View, Text, Dimensions } from "react-native"; |
||||
import tw from "tailwind-rn"; |
||||
import fontSize from "../../../constants/fontSize"; |
||||
import { Entypo } from "@expo/vector-icons"; |
||||
|
||||
const width = Dimensions.get("window").width; |
||||
const height = Dimensions.get("window").height; |
||||
|
||||
export default function Description({ description }) { |
||||
return ( |
||||
<View |
||||
style={[ |
||||
tw("w-full flex pt-6 mt-2 mb-3"), |
||||
{ borderTopWidth: 1, borderColor: "#86A0B944" }, |
||||
]} |
||||
> |
||||
<View |
||||
style={tw("flex flex-row-reverse justify-between items-center mb-2")} |
||||
> |
||||
<Text |
||||
style={[ |
||||
{ fontSize: fontSize.sm, color: "#275077", fontFamily: "regular" }, |
||||
tw(""), |
||||
]} |
||||
> |
||||
توضیحات |
||||
</Text> |
||||
<Entypo name="chevron-small-left" size={20} color="#196EC0" /> |
||||
</View> |
||||
<Text |
||||
style={[ |
||||
tw("w-full text-right mt-2"), |
||||
{ |
||||
fontSize: fontSize.sm, |
||||
color: "#323232bb", |
||||
lineHeight: 20, |
||||
fontFamily: "light", |
||||
}, |
||||
]} |
||||
> |
||||
{description} |
||||
</Text> |
||||
</View> |
||||
); |
||||
} |
Loading…
Reference in new issue