Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 4x 1x | /** * @fileoverview HeaderTexts component * @module HeaderTexts * @description Component used to display the title and subtitle of the connection screen * @requires react react-native * @requires StyleSheet from 'react-native' * @requires Text from 'react-native' * @exports HeaderTexts */ import React from 'react' import { StyleSheet, Text } from 'react-native' import { colors } from '@global/colors' /** * @function HeaderTexts * @description Component that renders the title and subtitle of the connection screen * @returns {React.JSX.Element} HeaderTexts component template */ export default function HeaderTexts(): React.JSX.Element { return ( <> <Text style={styles.title}>Se connecter</Text> <Text style={styles.subtitle}>Connectez-vous pour continuer</Text> </> ) } const styles = StyleSheet.create({ title: { fontFamily: 'Poppins-SemiBold', fontSize: 24, fontWeight: '700', color: colors.accent, }, subtitle: { fontFamily: 'Poppins-Light', fontSize: 16, fontWeight: '400', color: colors.darkGrey, }, }) |