renatorib / react-sizes

:left_right_arrow: Hoc to easily map window sizes to props.
722 stars 36 forks source link

Fixed `throttle` config param passing to wrapped components #40

Open hsource opened 5 years ago

hsource commented 5 years ago

The throttle configuration parameter is being passed down to wrapped components, triggering an error. This one-line fix should fix it. I also added a comment to prevent this from happening in the future.

hsource commented 4 years ago

@renatorib Can you take a look and see if this might be merged? Thanks!