React suite date-range picker not working in prod

1.1k Views Asked by At

I successfully added the react-suite date-range picker to my code and I was able to test it out locally but when I moved to the staging environment, the picker/input appears but the calenders do not when you click on it. There are no errors on the console either.

import { DateRangePicker } from 'rsuite';
import "rsuite/dist/styles/rsuite-default.css";


class SampleComponent extends Component {
    render(){
      return(
           <DateRangePicker
              oneTap
              appearance="default"
              placeholder="Select Date"
              style={{ width: 300, marginTop:'1em' }}
              onChange={this.handleSelect}
            />
     )
  }
}
0

There are 0 best solutions below