githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

Have problem after install package #131

Closed serveyk0-work closed 1 year ago

serveyk0-work commented 1 year ago
Module parse failed: Unexpected token (32:7) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders const falseFunc = () => false;

export interface SliderProps extends ViewProps { | min: number; | max: number; [

Screenshot 2022-09-15 at 17 28 08

](url)

githuboftigran commented 1 year ago

@serveyk0-work , not sure what's the cause of the issue, it may be older version of react native, ts config, webpack config, babel, etc. The module uses typescript now, so it has to be supported by the project. With fresh app everything works properly. Check out this repo: https://github.com/githuboftigran/rn-widgets-demo