fix tickets add reort mail and design fixes
This commit is contained in:
@@ -6,7 +6,11 @@ import { FONT_FAMILY } from "../../styles/Fonts";
|
||||
import { Entypo } from "@expo/vector-icons";
|
||||
import { openShareSheet } from "../../utils/shareSheet";
|
||||
|
||||
export default function ShareBtn({ style, onPress = null }) {
|
||||
export default function ShareBtn({
|
||||
style,
|
||||
onPress = null,
|
||||
label = "Partager l’expérience",
|
||||
}) {
|
||||
const handlePress = useCallback(() => {
|
||||
if (typeof onPress === "function") {
|
||||
onPress();
|
||||
@@ -41,7 +45,7 @@ export default function ShareBtn({ style, onPress = null }) {
|
||||
marginRight: 5,
|
||||
}}
|
||||
>
|
||||
{"Partager l’expérience"}
|
||||
{label}
|
||||
</Text>
|
||||
<Entypo name="share-alternative" size={16} color="white" />
|
||||
</BlurView>
|
||||
|
||||
Reference in New Issue
Block a user