react-native-ruler

0.1.0 • Public • Published

react-native-ruler

npm version

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

iOS Example

Getting Started

Installing

npm install react-native-ruler

Usage

// 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

Package Sidebar

Install

npm i react-native-ruler

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

722 kB

Total Files

10

Last publish

Collaborators

  • lfkwtz