Skip to content

Commit c614046

Browse files
authored
Merge pull request #13 from Natterum/Add-api-description
Update README.md
2 parents f4f6648 + 4333bef commit c614046

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ import { ReactTableScroll } from 'react-table-scroll';
2020
</ReactTableScroll>
2121
```
2222
23+
## Common API
24+
| Name | Type | Default | Description |
25+
| ------------ | ------- | ------- | ----------- |
26+
| tableWrapperStyle | CSSProperties | `{}` | The style used for the table wrapper |
27+
| tableContainerStyle | CSSProperties | `{}` | The style used for the table container |
28+
| scrollWrapperStyle | CSSProperties | `{}` | The style used for the scroll wrapper |
29+
| scrollContentStyle | CSSProperties | `{}` | The style used for the scroll layer |
30+
| tableWrapperClass | string | `''` | The class used for the table wrapper |
31+
| tableContainerClass | string | `''` | The class used for the table container |
32+
| scrollWrapperClass | string | `''` | The class used for the scroll wrapper |
33+
| scrollContentClass | string | `''` | The class used for the scroll layer |
34+
35+
2336
## :loudspeaker: Important
2437
2538
**Do not use** **overflow: hidden** in parent layer and above for correct work.

0 commit comments

Comments
 (0)