diff --git a/client/assets/arrow-left.svg b/client/assets/arrow-left.svg new file mode 100644 index 0000000..99dedf4 --- /dev/null +++ b/client/assets/arrow-left.svg @@ -0,0 +1,4 @@ + + + + diff --git a/client/components/profile/Header.tsx b/client/components/profile/Header.tsx index 6177c0e..b386ec4 100644 --- a/client/components/profile/Header.tsx +++ b/client/components/profile/Header.tsx @@ -4,6 +4,7 @@ import { Text, View } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import { styled } from 'nativewind'; +import ArrowLeft from '../../assets/arrow-left.svg'; import Ellipse from '../../assets/profile/ellipse.svg'; import { AppStackNavigation } from '../../navigation/AppNavigation'; import { GroupRole } from '../../types/group'; @@ -29,7 +30,7 @@ export function Header({ user, role }: HeaderProps) { } rightButtonText="Edit" /> diff --git a/client/components/profile/ProfileTopHeader.tsx b/client/components/profile/ProfileTopHeader.tsx index 27045d5..ae2acd7 100644 --- a/client/components/profile/ProfileTopHeader.tsx +++ b/client/components/profile/ProfileTopHeader.tsx @@ -6,7 +6,7 @@ import { User } from '../../types/user'; interface ProfileTopHeaderProps { user: User; onTouchEndLeft?: () => void; - leftButtonText?: string; + leftButtonText?: JSX.Element | string; onTouchEndRight?: () => void; rightButtonText?: string; } @@ -22,7 +22,7 @@ export function ProfileTopHeader({ - {leftButtonText} + {leftButtonText}