Skip to content

Commit

Permalink
allow overide on table component props
Browse files Browse the repository at this point in the history
  • Loading branch information
vutpov committed Jan 25, 2024
1 parent 3ab1ffb commit f17c29b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cubetiq/enhance-antd-table",
"version": "2.2.3",
"version": "2.2.4",
"description": "enhance-antd-table antd-table @antd",
"contributors": [
{
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,14 @@ const EnhanceAntdTable: React.FC<enhanceTableInterface> = (props) => {
dataSource={dataSource}
columns={columnsResult}
components={{
...props.restProps?.components,
header: {
cell: ResizableTitle
},
body: {
wrapper: MotionBody,
row: MotionRow
}
},
...props.restProps?.components
}}
/>
</EnhancedTableStyled>
Expand Down

0 comments on commit f17c29b

Please sign in to comment.