rn-conical-gradient-progress

0.0.2 • Public • Published

rn-conical-gradient-progress

✏️ Attempt to fix the following error in latest RN version.

‼️ Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'

Installation

Install this component and react-native-svg:

npm i --save rn-conical-gradient-progress react-native-svg

Link native code for SVG:

react-native link react-native-svg

Description

  • Can accept external Props size, width, fill, prefill, beginColor, endColor, segments, backgroundColor
  • Migrated to expo
  • Migrated to react-native-svg
  • Used multiple paths and different linear gradients to implement the conical gradient

Todo

  • [ ] Customize component
  • [ ] Some performance tricks
  • [x] Accept Component Props
  • [x] Move to Expo

Status

iOS gif

References

/rn-conical-gradient-progress/

    Package Sidebar

    Install

    npm i rn-conical-gradient-progress

    Weekly Downloads

    37

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    342 kB

    Total Files

    16

    Last publish

    Collaborators

    • its_palwisha