react-scrolling-container

Render markdown with ReactJS using the express framework, browserify for dependency resolution, the gulp build system, and jade templateing.

Usage no npm install needed!

<script type="module">
  import reactScrollingContainer from 'https://cdn.skypack.dev/react-scrolling-container';
</script>

README

A container for wrapping react elements that you want to be able to scroll up and down

setup:

```
<ScrollComponent
  height={number}
  width={number}
  heightComp={number}
  widthComp={number}
  component={ReactElement}
/>
```
  • height - the height of the React Element that you want to have scrolling capabilities
  • width - the width of that React Element
  • heightComp - the height of the window through which you can see the scrolled to part of the React Element
  • widthComp - width of window
  • component - the React Element you want to have scroll capabilities

can only use measurements in px