MCPcopy Create free account
hub / github.com/lesspass/lesspass / Input

Function Input

mobile/src/ui/TextInput.js:4–18  ·  view source on GitHub ↗
({ showError = false, errorText, ...props })

Source from the content-addressed store, hash-verified

2import { TextInput, useTheme } from "react-native-paper";
3
4export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected