santong / react-native-multislider Goto Github PK
View Code? Open in Web Editor NEWA track with multiple thumbs based on react-native.
License: Apache License 2.0
A track with multiple thumbs based on react-native.
License: Apache License 2.0
error: bundling failed: SyntaxError: react-native/rchampz_sv/node_modules/react-native-MultiSlider/MultiSlider.js: A trailing comma is not permitted after the rest element (153:14)
151 | trackWidth,
152 | rangeColor,
153 | ...other,
| ^
154 | } = this.props;
155 |
156 | let {
at _class.raise (node_modules/@babel/parser/lib/index.js:3939:15)
at _class.unexpected (node_modules/@babel/parser/lib/index.js:5248:16)
at _class.parseObj (node_modules/@babel/parser/lib/index.js:6681:18)
at _class.parseBindingAtom (node_modules/@babel/parser/lib/index.js:5505:21)
at _class.parseVarHead (node_modules/@babel/parser/lib/index.js:7786:20)
at _class.parseVarHead (node_modules/@babel/parser/lib/index.js:2517:42)
at _class.parseVar (node_modules/@babel/parser/lib/index.js:7762:12)
at _class.parseVarStatement (node_modules/@babel/parser/lib/index.js:7595:10)
at _class.parseStatementContent (node_modules/@babel/parser/lib/index.js:7195:21)
There is a way to return dinamically a thumb to a specific value. Example, in a range of 14, 15, 16, 17... disable 14, so the user cant set the thumb to 14.
It leads a ‘cannot find’ error when you import it into your project.
It would be nice to be able to disable user input, just like on the simple react-native Slider.
But otherwise thanks for work, of course, it's a great little component! :)
Now using:
import PropTypes from 'prop-types';
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.