This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
p61-project/components/MonoText.tsx

14 lines
289 B
TypeScript
Raw Normal View History

2024-02-16 22:51:50 +01:00
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",
},
})