diff --git a/packages/react-bootstrap-table2/src/row.js b/packages/react-bootstrap-table2/src/row.js index 84a3ea4..e3254b5 100644 --- a/packages/react-bootstrap-table2/src/row.js +++ b/packages/react-bootstrap-table2/src/row.js @@ -120,7 +120,7 @@ class Row extends eventDelegater(Component) { cellStyle = _.isFunction(column.style) ? column.style(content, row, rowIndex, index) : column.style; - cellStyle = cellStyle || {}; + cellStyle = Object.assign({}, cellStyle) || {}; }