({ showError = false, errorText, ...props })
| 2 | import { TextInput, useTheme } from "react-native-paper"; |
| 3 | |
| 4 | export default function Input({ showError = false, errorText, ...props }) { |
| 5 | const theme = useTheme(); |
| 6 | return ( |
| 7 | <TextInput |
| 8 | autoCapitalize="none" |
| 9 | autoCorrect={false} |
| 10 | outlineStyle={{ |
| 11 | borderRadius: 5 * theme.roundness, |
| 12 | }} |
| 13 | style={{ marginBottom: 5 }} |
| 14 | mode="outlined" |
| 15 | {...props} |
| 16 | /> |
| 17 | ); |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected