Lighthouse-io / react-visjs-timeline

React component for the vis.js timeline module
MIT License
210 stars 91 forks source link

Incorrect handler function naming #98

Open ramijaschek opened 4 years ago

ramijaschek commented 4 years ago

Overview

Documentation specifically mentions that functions in the react wrapper are in Camel case - as per React standard. Yet, you need to pass 'rangechangedHandler' and not 'rangeChangedHandler' and 'rangechangeHandler' and not 'rangeChangeHandler'.

Package versions

react-visjs-timeline: vis version:

Steps to reproduce

Add step by step guide to reproduce issue

  1. Step 1
  2. Step 2

Code Snippet

Add relevant code snippet here

Related issues

Any issue which is related to this issue

Screenshots (if appropriate)