Change selectionColor for light theme on input
This commit is contained in:
parent
718bb279d9
commit
6c0b869377
|
@ -1,6 +1,7 @@
|
|||
import React from 'react';
|
||||
import {useColorScheme} from 'react-native';
|
||||
import {TextInput} from 'react-native-paper';
|
||||
import {CombinedDefaultTheme} from './App';
|
||||
|
||||
export default function MassiveInput(
|
||||
props: Partial<React.ComponentProps<typeof TextInput>> & {
|
||||
|
@ -11,7 +12,7 @@ export default function MassiveInput(
|
|||
|
||||
return (
|
||||
<TextInput
|
||||
selectionColor={dark ? '#2A2A2A' : ''}
|
||||
selectionColor={dark ? '#2A2A2A' : CombinedDefaultTheme.colors.border}
|
||||
mode="outlined"
|
||||
style={{marginBottom: 10}}
|
||||
selectTextOnFocus
|
||||
|
|
Loading…
Reference in New Issue
Block a user