JSPM

@lowkey/react-native-ellipse-view

0.2.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q48308F
  • License MIT

Rounded view for React Native

Package Exports

  • @lowkey/react-native-ellipse-view
  • @lowkey/react-native-ellipse-view/lib/commonjs/index.js
  • @lowkey/react-native-ellipse-view/lib/module/index.js

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 (@lowkey/react-native-ellipse-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-ellipse-view

View smoothly rounded with Bézier curve for React Native.

Installation

npm install @lowkey/react-native-ellipse-view

or

yarn add @lowkey/react-native-ellipse-view

Usage

import EllipseView from "@lowkey/react-native-ellipse-view";

// ...

<EllipseView style={styles.ellipseViewContainer}>
    <Image source={require('./example.jpeg')} style={styles.avatar} />
</EllipseView>

Props

Property Type Default Required Description
roundness number (0-1) 0.45 false Changes the "borderRadius" of the ellipse

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT