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 React from 'react';
|
||||||
import {useColorScheme} from 'react-native';
|
import {useColorScheme} from 'react-native';
|
||||||
import {TextInput} from 'react-native-paper';
|
import {TextInput} from 'react-native-paper';
|
||||||
|
import {CombinedDefaultTheme} from './App';
|
||||||
|
|
||||||
export default function MassiveInput(
|
export default function MassiveInput(
|
||||||
props: Partial<React.ComponentProps<typeof TextInput>> & {
|
props: Partial<React.ComponentProps<typeof TextInput>> & {
|
||||||
|
@ -11,7 +12,7 @@ export default function MassiveInput(
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TextInput
|
<TextInput
|
||||||
selectionColor={dark ? '#2A2A2A' : ''}
|
selectionColor={dark ? '#2A2A2A' : CombinedDefaultTheme.colors.border}
|
||||||
mode="outlined"
|
mode="outlined"
|
||||||
style={{marginBottom: 10}}
|
style={{marginBottom: 10}}
|
||||||
selectTextOnFocus
|
selectTextOnFocus
|
||||||
|
|
Loading…
Reference in New Issue
Block a user