()
| 3 | import { DynamicStyleSheet, useDynamicStyleSheet, useDarkModeContext, DynamicValue } from 'react-native-dynamic' |
| 4 | |
| 5 | export default function Extra() { |
| 6 | const mode = useDarkModeContext() |
| 7 | const styles = useDynamicStyleSheet(dynamicStyleSheet) |
| 8 | return ( |
| 9 | <View style={styles.container}> |
| 10 | <Text style={styles.text}>Forced mode: {mode}</Text> |
| 11 | </View> |
| 12 | ) |
| 13 | } |
| 14 | |
| 15 | const dynamicStyleSheet = new DynamicStyleSheet({ |
| 16 | container: { |
nothing calls this directly
no outgoing calls
no test coverage detected