# react-native-ruler

[![npm version](https://badge.fury.io/js/react-native-ruler.svg)](https://badge.fury.io/js/react-native-ruler)

📏 A devtool for measuring pixel dimensions on your React Native screens

![iOS Example](./demo.gif)

## Getting Started

### Installing

`npm install react-native-ruler`

### Usage

```js
// first, import the component
import { RNRuler } from 'react-native-ruler';

// then drop it on any screen in your app (or in the root)
<RNRuler />;
```

-   Tap the bottom right corner of the ruler to swap between axis

## License

react-native-ruler is [MIT licensed](https://github.com/lfkwtz/react-native-ruler/tree/master/LICENSE)
