# achievement-view

> react native Achievement View component for both Android and Ios

Latest version **0.1.2** (published 2017-06-02) · Apache License 2.0 license · 0 weekly downloads

## Install

```sh
npm install achievement-view
pnpm add achievement-view
yarn add achievement-view
bun add achievement-view
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-06-02 |
| First published | 2017-05-25 |
| Weekly downloads | 0 |
| License | Apache License 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | xgfe |
| Maintainers | tientn |
| Keywords | react-native, DatePicker |

## Links

- npm: https://www.npmjs.com/package/achievement-view
- Repository: https://github.com/tungtung-dev/react-native-achievement-view
- Homepage: https://github.com/tungtung-dev/react-native-achievement-view#readme
- Issues: https://github.com/tungtung-dev/react-native-achievement-view/issues
- npm.io page: https://npm.io/package/achievement-view

## Dependencies (2)

- [react](https://npm.io/package/react.md) 16.0.0-alpha.6
- [react-native](https://npm.io/package/react-native.md) 0.44.0

## Recent versions

- 0.1.2 (latest) — 2017-06-02
- 0.1.1 — 2017-06-02
- 0.1.0 — 2017-06-01
- 0.0.4 — 2017-05-25
- 0.0.3 — 2017-05-25
- 0.0.2 — 2017-05-25
- 0.0.1 — 2017-05-25

## README

# react-native-achievement-view
Achievement View for Android

## Install

```bash
yarn add achievement-view
react-native link achievement-view
```

## Example
Check [index.android.js](https://github.com/tientnvn/AchievementViewExample/blob/master/index.android.js) in the Example.

![android](https://github.com/tungtung-dev/react-native-achievement-view/blob/master/example.png)

## Usage

```javascript
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import AchievementView from 'achievement-view'

export default class AchievementViewSample extends Component {
  render() {
    return (
      <View style={styles.container}>
        <AchievementView index={1} style={{width: 50,height: 50}}/>
        <AchievementView index={2} style={{width: 100,height: 100}}/>
        <AchievementView index={3} style={{width: 50,height: 50}}/>
        <AchievementView index={6969} style={{width: 100,height: 100}}/>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});

AppRegistry.registerComponent('AchievementViewSample', () => AchievementViewSample);
```

You can check [index.js](https://github.com/tientnvn/AchievementViewExample) in the Example for detail.

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