SecureField
A control that displays an editable text interface.
Example​
- swiftui-react-native
- SwiftUI
- React Native
const password = useBinding('');
<SecureField placeholder="Password" text={password} />
@State var password: String = ""
SecureField("Password", text: $name)
const [password, setPassword] = useState('');
<TextInput
placeholder="Password"
secureTextEntry={true}
textContentType="password"
value={name}
onChangeText={(newName) => setName(newName)}
/>
Props​
SecureField inherits all TextField props.