rezg-react-native-multiple-checkbox
v0.1.13
Published
multiple checkbox selections
Downloads
4
Readme
rezg-react-native-multiple-checkbox
multiple checkbox selections
Installation
npm install rezg-react-native-multiple-checkbox
Usage
import { MultipleCheckBoxSelection } from 'rezg-react-native-multiple-checkbox';
import * as React from "react";
import dummyInputs from "./ItemList/ItemList";
import { StyleSheet, View } from "react-native";
import MultipleCheckBoxSelection from "rezg-react-native-multiple-checkbox";
export default function App() {
return (
<View style={styles.container}>
<MultipleCheckBoxSelection
CardTittle="Amenities"
CardTagLine="Available Amenities"
checkedCardColor={"#FEECB5"}
checkboxStyle={{ backgroundColor: "transparent" }}
checkboxCheckedStyle={{ backgroundColor: "white" }}
itemList={dummyInputs}
viewType="list" //list || grid
/>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: "center",
justifyContent: "center",
},
box: {
width: 60,
height: 60,
marginVertical: 20,
},
});
// ...
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library