9
9
Button ,
10
10
Dialog ,
11
11
Drawer ,
12
- MD3Colors ,
12
+ Colors ,
13
13
Switch ,
14
14
Text ,
15
15
TouchableRipple ,
@@ -136,8 +136,8 @@ function DrawerItems() {
136
136
137
137
const coloredLabelTheme = {
138
138
colors : {
139
- secondaryContainer : MD3Colors . tertiary80 ,
140
- onSecondaryContainer : MD3Colors . tertiary20 ,
139
+ secondaryContainer : Colors . tertiary80 ,
140
+ onSecondaryContainer : Colors . tertiary20 ,
141
141
} ,
142
142
} ;
143
143
@@ -184,7 +184,7 @@ function DrawerItems() {
184
184
{ deviceColorsSupported ? (
185
185
< TouchableRipple onPress = { toggleShouldUseDeviceColors } >
186
186
< View style = { styles . preference } >
187
- < Text variant = "labelLarge" > Use device colors * </ Text >
187
+ < Text variant = "labelLarge" > Use device colors</ Text >
188
188
< View pointerEvents = "none" >
189
189
< Switch value = { shouldUseDeviceColors } />
190
190
</ View >
@@ -213,7 +213,7 @@ function DrawerItems() {
213
213
214
214
< TouchableRipple onPress = { toggleCollapsed } >
215
215
< View style = { styles . preference } >
216
- < Text variant = "labelLarge" > Collapsed drawer * </ Text >
216
+ < Text variant = "labelLarge" > Collapsed drawer</ Text >
217
217
< View pointerEvents = "none" >
218
218
< Switch value = { collapsed } />
219
219
</ View >
@@ -222,7 +222,7 @@ function DrawerItems() {
222
222
223
223
< TouchableRipple onPress = { toggleCustomFont } >
224
224
< View style = { styles . preference } >
225
- < Text variant = "labelLarge" > Custom font * </ Text >
225
+ < Text variant = "labelLarge" > Custom font</ Text >
226
226
< View pointerEvents = "none" >
227
227
< Switch value = { customFontLoaded } />
228
228
</ View >
@@ -232,19 +232,14 @@ function DrawerItems() {
232
232
< TouchableRipple onPress = { toggleRippleEffect } >
233
233
< View style = { styles . preference } >
234
234
< Text variant = "labelLarge" >
235
- { isIOS ? 'Highlight' : 'Ripple' } effect *
235
+ { isIOS ? 'Highlight' : 'Ripple' } effect
236
236
</ Text >
237
237
< View pointerEvents = "none" >
238
238
< Switch value = { rippleEffectEnabled } />
239
239
</ View >
240
240
</ View >
241
241
</ TouchableRipple >
242
242
</ Drawer . Section >
243
- { ! collapsed && (
244
- < Text variant = "bodySmall" style = { styles . annotation } >
245
- * - available only for MD3
246
- </ Text >
247
- ) }
248
243
< Text variant = "bodySmall" style = { styles . annotation } >
249
244
React Native Paper Version{ ' ' }
250
245
{ require ( 'react-native-paper/package.json' ) . version }
0 commit comments