Download examples/bluetooth/react-native/src/components/Header.tsx from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 640 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/examples/bluetooth/react-native/src/components/Header.tsx
- Command line
-
hf download hf://Anirudh1950/MentraOS/examples/bluetooth/react-native/src/components/Header.tsx
-
curl -L -o Header.tsx https://huggingface.co/Anirudh1950/MentraOS/resolve/main/examples/bluetooth/react-native/src/components/Header.tsx
640 Bytes
| import React from 'react'; | |
| import { View, Text, StyleSheet } from 'react-native'; | |
| import { colors } from './theme'; | |
| export function Header({ title }: { title: string }) { | |
| return ( | |
| <View style={styles.row}> | |
| <Text style={styles.title}>{title}</Text> | |
| </View> | |
| ); | |
| } | |
| const styles = StyleSheet.create({ | |
| row: { | |
| flexDirection: 'row', | |
| alignItems: 'center', | |
| justifyContent: 'center', | |
| paddingTop: 6, | |
| paddingBottom: 14, | |
| paddingHorizontal: 16, | |
| }, | |
| title: { | |
| fontSize: 17, | |
| lineHeight: 22, | |
| fontWeight: '700', | |
| color: colors.ink, | |
| letterSpacing: -0.17, | |
| }, | |
| }); | |