feat: add password inputs on profile screen
This commit is contained in:
parent
09773ed3e5
commit
689814c8a6
1 changed files with 15 additions and 2 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import { ScrollView, TouchableOpacity } from 'react-native';
|
||||
import { Center, Text, VStack } from '@gluestack-ui/themed';
|
||||
import { Center, Heading, Text, VStack } from '@gluestack-ui/themed';
|
||||
|
||||
import { Button } from '@components/Button';
|
||||
import { Input } from '@components/Input';
|
||||
import { ScreenHeader } from '@components/ScreenHeader';
|
||||
import { UserPhoto } from '@components/UserPhoto';
|
||||
import { Input } from '@components/Input';
|
||||
|
||||
export function Profile() {
|
||||
return (
|
||||
|
|
@ -28,6 +29,18 @@ export function Profile() {
|
|||
<Input placeholder="Nome" bg="$gray600" />
|
||||
<Input value="john.doe@email.com" bg="$gray600" isReadOnly />
|
||||
</Center>
|
||||
|
||||
<Heading alignSelf="flex-start" color="$gray200" fontSize="$md" mt="$12" mb="$2">
|
||||
Alterar senha
|
||||
</Heading>
|
||||
|
||||
<Center w="$full" gap="$4">
|
||||
<Input placeholder="Senha antiga" bg="$gray600" secureTextEntry />
|
||||
<Input placeholder="Nova senha" bg="$gray600" secureTextEntry />
|
||||
<Input placeholder="Confirme a nova senha" bg="$gray600" secureTextEntry />
|
||||
|
||||
<Button title="Atualizar" />
|
||||
</Center>
|
||||
</Center>
|
||||
</ScrollView>
|
||||
</VStack>
|
||||
|
|
|
|||
Loading…
Reference in a new issue