20 lines
409 B
TypeScript
20 lines
409 B
TypeScript
import { StyleSheet, Text, View} from 'react-native';
|
|
|
|
export default function Other({theme}:any){
|
|
return (
|
|
<View style={style(theme).container}>
|
|
<Text style={style(theme).text}>This is other</Text>
|
|
</View>
|
|
)
|
|
}
|
|
|
|
|
|
const style = (theme:any) => {
|
|
return StyleSheet.create({
|
|
container: {
|
|
},
|
|
text: {
|
|
color: theme.text,
|
|
}
|
|
});
|
|
} |