@lowkey/react-native-ellipse-view
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

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

Package Sidebar

Install

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

Weekly Downloads

6

Version

0.2.4

License

MIT

Unpacked Size

39.6 kB

Total Files

20

Last publish

Collaborators

  • max-prokopenko
  • jointed