Giter Site home page Giter Site logo

react-native-conical-gradient-progress's Introduction

react-native-conical-gradient-progress

๐ŸŒ…

Installation

Install this component and react-native-svg:

npm i --save react-native-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
  • Accept Component Props
  • Move to Expo

Status

iOS gif

References

react-native-conical-gradient-progress's People

Contributors

fdnhkj avatar mikepodgorniy avatar summerkiflain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-conical-gradient-progress's Issues

Some information

Hi @MikePodgorniy, Some doubts:

  1. I do not understand why in the package did you put svg in the package.json?
  2. I tried to convert your module to try it on https://snack.expo.io/
    I am given the following error:
    TypeError: undefined is not an object (evaluating 'o.map')
    Line 27 of CircularProgress:
    Here is the link where you can try it: https://snack.expo.io/HkDheSJmE
  3. You could improve the documentation I do not understand what serves prefill and segments.
  4. It would be interesting to be able to animate itself for example, click on Play and at intervals defined for example every 3.33 is removed from 100% and when it reaches a value defined for example 0% then you start a function defined as props.

Laggy performance

This is a great plugin, but the bar's performance is very laggy in all of the devices I have tested it on. Any help would be hugely appreciated.

linecap options

Hi there,How can I change the linecap to flat instead of round shaped?

isClockwise

isClockwise props is not working , can someone give the exact way?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.