Use react slider in meteor 1.3


Hey there,

I’m trying to add the “react-slider” for react package but I can’t access the component.

npm install --save react-slider

React Slider Package

import React, { ReactSlider ,Component, PropTypes } from 'react';

Unfortunately I can’t access it in my Render() method.

Anything else I have to consider?

Best regards


Try this:
import ReactSlider from ‘react-slider’;
import * as ReactSlider from ‘react-slider’;

It’s a non-es6 module.


Thanks! You helped me a lot :slight_smile: