JSPM

react-native-skewable-view

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q31905F
  • License GPLv3

A skewable view for react native (iOS and Android)

Package Exports

  • react-native-skewable-view

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-skewable-view) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-skewable-view

A skewable view for react native, works in iOS and Android!

The inner content is vertically scrollable.

Setup

Fast and easy:

npm install react-native-skewable-view --save

Or manual: add the latest version as dependeny to your package.json.

{
  "name": "YourProject",
  ...
  },
  "dependencies": {
    ...
    "react-native-skewable-view": "0.0.1",
    ...
  }

Usage

import SkewableView from 'react-native-skewable-view/SkewableView';
...
<SkewableView
    style={{position: 'absolute', top:0, left:0, backgroundColor: '#00ff00'}}
    skewDirection={"vertical-top"}
    skewValue={10}
    skewUnits={"deg"}
    boundingBoxHeight={200}
    boundingBoxWidth={200}
    backgroundColor={"#ff0000"}>
    <Text>
     This text is the inner content of the (vertical scollable) skewable view... feel free to add anything you like!
    </Text>
</SkewableView>
...