Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
rnscreenkeyboard
Advanced tools
React-Native Screen keyboard implementation
Weekly downloads
Readme
React Native Screen Keyboard is a virutal screen keyboard implementation for React Native. It is fully customizable, the last row of the keys can be completely customized or changed to fit perfectly with your projects.
It support's Expo
npm i rnscreenkeyboard
yarn add rnscreenkeyboard
import React from "react";
import { StyleSheet, TextInput, View } from "react-native";
import RNScreenKeyboard from "rnscreenkeyboard";
export default function App() {
const [value, setValue] = React.useState<string>("");
return (
<View style={styles.container}>
<TextInput value={value} style={styles.input} />
<RNScreenKeyboard
textStyle={{ color: "gray" }}
backspaceTint={"gray"}
cellStyle={{
borderRadius: 100,
backgroundColor: "lightblue",
margin: 5,
}}
value={value}
onKeyPress={(val: string) => setValue(val)}
/>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "center",
justifyContent: "center",
},
input: {
padding: 10,
backgroundColor: "#ddd",
width: "50%",
borderRadius: 20,
fontSize: 20,
letterSpacing: 20,
textAlign: "center",
},
});
Name | Type | Default | Description |
---|---|---|---|
cellStyle | ViewStyle | ||
textStyle | TextStyle | ||
rowStyle | ViewStyle | ||
onKeyPress | func | ||
backspaceTint | string | black | |
BackSpaceComponent | React.ReactNode | backspace image | |
Left | React.ReactNode | ||
Center | React.ReactNode | ||
Right | React.ReactNode |
MIT
MIT License
Copyright (c) 2022 Usman Hassan
FAQs
React-Native Screen keyboard implementation
The npm package rnscreenkeyboard receives a total of 26 weekly downloads. As such, rnscreenkeyboard popularity was classified as not popular.
We found that rnscreenkeyboard 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.