import { useColorScheme } from 'react-native'; import { RootState, useSelector } from '../state/Store'; import { Box, Pressable } from 'native-base'; const RowCustom = (props: Parameters[0] & { onPress?: () => void }) => { const settings = useSelector((state: RootState) => state.settings.local); const systemColorMode = useColorScheme(); const colorScheme = settings.colorScheme; return ( {({ isHovered, isPressed }) => ( {props.children} )} ); }; export default RowCustom;