# slap-react-native-toggles

> ``` $ npm install $ react-native run-android $ react-native run-ios ```

Latest version **3.0.15** (published 2018-08-08) · 0 weekly downloads

## Install

```sh
npm install slap-react-native-toggles
pnpm add slap-react-native-toggles
yarn add slap-react-native-toggles
bun add slap-react-native-toggles
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.15 |
| Published | 2018-08-08 |
| First published | 2017-11-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 85.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | slapslap |

## Links

- npm: https://www.npmjs.com/package/slap-react-native-toggles
- npm.io page: https://npm.io/package/slap-react-native-toggles

## Recent versions

- 3.0.15 (latest) — 2018-08-08
- 3.0.14 — 2018-06-05
- 3.0.13 — 2018-06-05
- 3.0.12 — 2018-01-17
- 3.0.11 — 2018-01-15
- 3.0.10 — 2018-01-06
- 3.0.9 — 2017-12-27
- 3.0.8 — 2017-12-27
- 3.0.7 — 2017-12-26
- 3.0.6 — 2017-12-26
- 3.0.5 — 2017-12-26
- 3.0.4 — 2017-12-26
- 3.0.3 — 2017-12-26
- 3.0.2 — 2017-12-20
- 3.0.1 — 2017-12-18
- … 16 more at https://npm.io/package/slap-react-native-toggles/versions

## README

### bootstrap
```
$ npm install
$ react-native run-android
$ react-native run-ios
```

### test
```
npm test
```

### component style guide
```
export default class MyComponent extends Compoent {
  static propTypes = {
    text: PropTypes.string
  };

  static defaultProps = {
    text: 'text'
  };

  state = {
    clickNumber: 0
  };

  animatedValue = new Animated.Value(0);

  componentDidMount() {

  }

  onPress = () => {
    this.setState((previousState) => {
      return {
        clickNumber: previousState.clickNumber + 1
      };
    });
  };

  render() {
    return (
      <View>
        <Text onPress={this.onPress}>{ this.props.text }</Text>
      </View>
    );
  }
}
```

---
_Source: https://npm.io/package/slap-react-native-toggles · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
