Chore/make function components 5

This commit is contained in:
Sofiya Tepikin
2022-09-12 11:04:20 +00:00
parent c8d2f5d9ee
commit 92236dfc8a
5 changed files with 163 additions and 202 deletions
+19
View File
@@ -0,0 +1,19 @@
import React from 'react'
import { StyleSheet } from 'react-native'
import AppText from '../common/app-text'
import { shared } from '../../i18n/en/labels'
import { Spacing } from '../../styles'
function NoTemperature() {
return <AppText style={styles.warning}>{shared.noTemperatureWarning}</AppText>
}
const styles = StyleSheet.create({
warning: {
padding: Spacing.large,
},
})
export default NoTemperature