1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/presentation/react/components/MonoText.tsx

14 lines
289 B
TypeScript

import { StyleSheet, Text } from "react-native"
export const MonoText: React.FC<Text["props"]> = (props) => {
const { style, ...rest } = props
return <Text style={[style, styles.text]} {...rest} />
}
const styles = StyleSheet.create({
text: {
fontFamily: "SpaceMono",
},
})