bartgryszko/react-native-circular-slider

Cannot read property 'number' of undefined

ghasemikasra39 opened this issue ยท 2 comments

React Native Environment Info:
    System:
      OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
      CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
      Memory: 2.32 GB / 11.63 GB
      Shell: 5.4.2 - /bin/zsh
    Binaries:
      Node: 8.10.0 - /usr/bin/node
      Yarn: 1.17.3 - /usr/bin/yarn
      npm: 3.5.2 - /usr/bin/npm
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.8 => 0.59.8 
    npmGlobalPackages:
      react-native-cli: 2.0.1
import CircularSlider from 'react-native-circular-slider';

image

  • yarn add prop-types --dev
    add import PropTypes from 'prop-types'; and delete PropTypes from 'react';
    to CircularSlider.js and ClockFace.js in 'react-native-circular-slider' package

@bartgryszko Are you still maintaining this? It is a nice little implementation of this component but could do with bringing up-to-date. There's even a PR ready to fix this