
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@dooboo-ui/native-edit-text
Advanced tools
[](https://npmjs.org/package/@dooboo-ui/native-edit-text) [](https://n
[EditText] component is an enhanced version on pure react-native [TextInput] component.
Default | Row |
---|---|
![]() | ![]() |
necessary | types | default | |
---|---|---|---|
testID | string | ||
errorTestID | string | ||
isRow | boolean | ||
style | StyleProp<ViewStyle> | ||
underlineStyle | StyleProp<ViewStyle> | ||
label | string | ||
textStyle | StyleProp<TextStyle> | ||
labelTextStyle | StyleProp<TextStyle> | ||
errorTextStyle | StyleProp<TextStyle> | ||
errorText | string | ||
value | string | ||
placeholder | string | ||
placeholderTextColor | string | ||
secureTextEntry | boolean | ||
onSubmitEditing | func | ||
onChangeText | (e) => {} | ||
textInpuProps | TextInputProps |
yarn add @dooboo-ui/native
or
yarn add @dooboo-ui/native-edit-text
Import
import { EditText } from '@dooboo-ui/native';
// or
import EditText from '@dooboo-ui/native-edit-text';
Usage
function Page(props: Props) {
const validateEmail = (email: string) => {
const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
};
const fontStyle: TextStyle = {
fontWeight: 'bold',
fontSize: 13,
};
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
const [errorEmail, setErrorEmail] = useState('');
const onSignIn = () => {
if (!validateEmail(email)) {
setErrorEmail('Not a valid email address');
} else {
setErrorEmail('');
}
};
const onTextChanged = (type: string, text: string) => {
type === 'EMAIL' ? setEmail(text) : setPassword(text);
if (type === 'EMAIL' && text === '') {
setErrorEmail('');
}
};
return (
<StyledScrollView
contentContainerStyle={{
marginTop: 8,
paddingHorizontal: 20,
paddingBottom: 40,
}}
>
<Container>
<HeaderTitle>Sign in with Email</HeaderTitle>
<EditText
testID="EMAIL_INPUT"
textStyle={{
color: '#495057',
}}
label="Email"
placeholder="Write email address"
placeholderTextColor="#ADB5BD"
text={email}
onTextChanged={(text: string) => onTextChanged('EMAIL', text)}
style={{ marginTop: 50 }}
errorText={errorEmail}
onSubmitEditing={onSignIn}
/>
<EditText
testID="PASSWORD_INPUT"
textStyle={{
color: '#ADB5BD',
}}
secureTextEntry={true}
label="Password"
placeholder="Please write your password"
placeholderTextColor="#ADB5BD"
text={password}
onTextChanged={(text: string) => onTextChanged('PASSWORD', text)}
style={{ marginTop: 36 }}
onSubmitEditing={onSignIn}
/>
<StyledSignInButton
testID="btnEmail"
onClick={() => onSignIn()}
textStyle={fontStyle}
text="Login"
/>
{/* Email SignUp text */}
<View
style={{
marginTop: 20,
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
}}
>
<StyledText testID="NO_ACCOUNT">
Do not have and account?{' '}
</StyledText>
<TouchableOpacity onPress={() => null} style={{ padding: 4 }}>
<StyledAccentText>Find</StyledAccentText>
</TouchableOpacity>
</View>
</Container>
</StyledScrollView>
);
}
FAQs
[](https://npmjs.org/package/@dooboo-ui/native-edit-text) [](https://n
The npm package @dooboo-ui/native-edit-text receives a total of 0 weekly downloads. As such, @dooboo-ui/native-edit-text popularity was classified as not popular.
We found that @dooboo-ui/native-edit-text demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.