0.1.2 • Published 4 months ago
react-table-scroll v0.1.2
React table scroll
Component for displaying a floating scroll from below for a table in React
:hammer: How to install
npm install react-table-scroll
# or
yarn add react-table-scroll
:low_brightness: How to use
import { ReactTableScroll } from 'react-table-scroll';
<ReactTableScroll>
<table>...</table>
</ReactTableScroll>
Common API
Name | Type | Default | Description |
---|---|---|---|
tableWrapperStyle | CSSProperties | {} | The style used for the table wrapper |
tableContainerStyle | CSSProperties | {} | The style used for the table container |
scrollWrapperStyle | CSSProperties | {} | The style used for the scroll wrapper |
scrollContentStyle | CSSProperties | {} | The style used for the scroll layer |
tableWrapperClass | string | '' | The class used for the table wrapper |
tableContainerClass | string | '' | The class used for the table container |
scrollWrapperClass | string | '' | The class used for the scroll wrapper |
scrollContentClass | string | '' | The class used for the scroll layer |
:loudspeaker: Important
Do not use overflow: hidden in parent layer and above for correct work.
License
react-table-scroll
is released under the MIT license.
0.1.2
4 months ago
0.1.1
4 months ago
0.0.16-b
9 months ago
0.0.15-b
10 months ago
0.0.14-b
10 months ago
0.0.13-b
10 months ago
0.0.12-b
10 months ago
0.0.11-b
10 months ago
0.0.10-b
10 months ago
0.0.9-b
10 months ago
0.0.8-b
10 months ago
0.0.7-a
10 months ago
0.0.6-a
10 months ago
0.0.5-a
10 months ago
0.0.4-a
10 months ago
0.0.3-a
10 months ago
0.0.2-a
10 months ago
0.0.1-a
10 months ago
0.1.0
10 months ago