# reactnative-position-mixin

> Mixin for get position in state

Latest version **1.0.0** (published 2016-09-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install reactnative-position-mixin
pnpm add reactnative-position-mixin
yarn add reactnative-position-mixin
bun add reactnative-position-mixin
```

## 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 | 1.0.0 |
| Published | 2016-09-01 |
| First published | 2016-09-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | clementkerneur |
| Maintainers | clementkerneur |

## Links

- npm: https://www.npmjs.com/package/reactnative-position-mixin
- npm.io page: https://npm.io/package/reactnative-position-mixin

## Recent versions

- 1.0.0 (latest) — 2016-09-01

## README

This Mixin define a state Position for your component

## Install

```
$ npm i --save reactnative-position-mixin
```


## Usage

```js
import React from 'react';
import { View, Text } from 'react-native';
import PositionMixin from 'reactnative-position-mixin';

const MyComponent = React.createClass({
	mixins: [ PositionMixin ],

	render() {
		return (
			<View>
				<Text>{ this.state.Position ? this.state.Position.longitude : 'Unknown longitude' }</Text>
				<Text>{ this.state.Position ? this.state.Position.latitude : 'Unknown latitude' }</Text>
			</View>
		);
	}

});
```

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