React Native Components Library
🚧 This project is under development and is not yet ready for use.
🔗 Table of Contents
✨ Features
- ✅ Button
- ✅ Input
- ✅ Select
- ❌ Modal
- ❌ View
- ❌ Salsa Dancer
🚀 Tecnologies
The following tools were used in the construction of the project:
📦 Install
⚠️ Node.js 16 or newer is required.
Use the package manager npm, yarn or pnpm.
npm install @hpro/react-native-components
yarn add @hpro/react-native-components
pnpm add @hpro/react-native-components
🔨 Usage
import { Button } from "@hpro/react-native-components";
function App() {
return (
// ...
// Input with placeholder
<Input
placeholder={"Input"}
onChangeText={(text) => {
console.log(text);
}} />
// Select with placeholder
<Select
placeholder={"Select"}
options={[
{ label: "Option 1", value: "1" },
{ label: "Option 2", value: "2" },
{ label: "Option 3", value: "3" },
]}
onChange={(value) => {
console.log(value);
}} />
// Button with text
<Button
text={"Button"}
onPress={() => {
console.log("Button pressed");
}} />
// ...
)
}
export default App
🤝 How to Contribute
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
📝 License
This project is under the MIT License