Rework account creation and login views

This commit is contained in:
Paul Frazee 2023-03-14 13:03:43 -05:00
parent d55780f5c3
commit acf0f80de2
22 changed files with 1266 additions and 66 deletions

View file

@ -0,0 +1,22 @@
import React from 'react'
import {StyleSheet, View} from 'react-native'
import {Text} from 'view/com/util/text/Text'
import {usePalette} from 'lib/hooks/usePalette'
export function StepHeader({step, title}: {step: string; title: string}) {
const pal = usePalette('default')
return (
<View style={styles.container}>
<Text type="lg" style={pal.textLight}>
{step === '3' ? 'Last step!' : <>Step {step} of 3</>}
</Text>
<Text type="title-xl">{title}</Text>
</View>
)
}
const styles = StyleSheet.create({
container: {
marginBottom: 20,
},
})