Change selectionColor for light theme on input

This commit is contained in:
Brandon Presley 2022-09-01 13:17:50 +12:00
parent 718bb279d9
commit 6c0b869377
1 changed files with 2 additions and 1 deletions

View File

@ -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