0.1.13 • Published 9 months ago

rezg-react-native-multiple-checkbox v0.1.13

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

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

0.1.13

9 months ago

0.1.12

9 months ago

0.1.11

9 months ago

0.1.10

9 months ago

0.1.9

9 months ago

0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago