Skip to content

Commit

Permalink
Adding className prop to ResponsiveWrapper (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakariaBenali authored Aug 23, 2022
1 parent ab1a759 commit 3d41ff4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DataTable/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ function DataTable<T>(props: TableProps<T>): JSX.Element {
customStyles = defaultProps.customStyles,
direction = defaultProps.direction,
onColumnOrderChange = defaultProps.onColumnOrderChange,
className,
} = props;

const {
Expand Down Expand Up @@ -361,6 +362,7 @@ function DataTable<T>(props: TableProps<T>): JSX.Element {
responsive={responsive}
fixedHeader={fixedHeader}
fixedHeaderScrollHeight={fixedHeaderScrollHeight}
className={className}
{...wrapperProps}
>
<Wrapper>
Expand Down

0 comments on commit 3d41ff4

Please sign in to comment.