0.0.10 • Published 3 years ago

react-native-checkbox-animated v0.0.10

Weekly downloads
23
License
MIT
Repository
github
Last release
3 years ago

About

A customizable animated checkbox component for React Native. No extra library required.

Install

$ npm install --save react-native-checkbox-animated
$ yarn add react-native-checkbox-animated

Usage

// ... Imports
import React, { useState } from "react";
import Checkbox from "react-native-checkbox-animated";

const App = () => {
  const [checked, setChecked] = useState(false);

  return (
    <View>
      ...
      <CheckBox
        label="your label here"
        onValueChange={val => setChecked(val)}
        checked={checked}
      />
      ...
    </View>
  );
};

Checkout examples.js for the above examples.

Props

Contribute

Contributions are welcome. Please open up an issue or create PR if you would like to help out.

Note: If editing the README, please conform to the standard-readme specification.

License

Licensed under the MIT License.