Skip to content

Commit 13c4499

Browse files
authored
Merge pull request #49 from easeq/master
0.7.7
2 parents b5cefab + 08418c2 commit 13c4499

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flipbyte/redux-datatable",
3-
"version": "0.7.6",
3+
"version": "0.7.7",
44
"description": "React-Redux data table",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/components/Body.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ const Body = React.forwardRef(({ top: startTop = 0 }, ref) => {
106106

107107
return (
108108
<Tbody
109+
className="table-body"
109110
styles={ getStyles(styles, 'tbody') }
110111
ref={ ref }
111112
isPrinting={ isPrinting }

src/components/Filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const Filters = React.forwardRef(({ children }, ref) => {
2323
const width = useSelector(getData(tableData => tableData.table ? tableData.table.width : 0));
2424

2525
return (
26-
<Thead styles={ getStyles(styles, 'filters') } ref={ ref }>
26+
<Thead className="table-filters" styles={ getStyles(styles, 'filters') } ref={ ref }>
2727
<div style={{ width }}>
2828
<Tr className="rdt-table-row" columns={ columns } styles={ getStyles(styles.tr, 'filters') }>
2929
{(config, index) => {

src/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Header = React.forwardRef(({ children }, ref) => {
4242
const width = useSelector(getData(tableData => tableData.table ? tableData.table.width : 0));
4343

4444
return (
45-
<Thead styles={ getStyles(styles, 'thead') } ref={ ref }>
45+
<Thead className="table-header" styles={ getStyles(styles, 'thead') } ref={ ref }>
4646
<div style={{ width }}>
4747
<Tr className="rdt-table-row" columns={ columns } styles={ getStyles(styles.tr, 'header') }>
4848
{(config, index) => {

src/components/Table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Table = ({ children }) => {
66
const { config } = useContext(ConfigContext);
77
const { styles = {} } = config.components.Table;
88
return (
9-
<StyledTable styles={ styles.table }>
9+
<StyledTable className="rdt-table" styles={ styles.table }>
1010
{ children }
1111
</StyledTable>
1212
);

0 commit comments

Comments
 (0)