0.0.2 • Published 3 years ago

react-native-polygons-area v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

id: create-schema title: Create Schema

sidebar_label: Create Schema

Description

This is a react-native library for calculating the area for the next following polygons: - Regular polygon with n equal sides - Trapeze - Scalene triangle

Installation

npm i react-native-polygons-area

Usage

// Example
import React from 'react';
import {SafeAreaView, ScrollView} from 'react-native';
import Polygons from 'react-native-polygons-area';

const App = () => {
  return (
    <SafeAreaView>
      <ScrollView contentInsetAdjustmentBehavior="automatic">
        <Polygons />
      </ScrollView>
    </SafeAreaView>
  );
};

export default App;