Browse Source

Added headerStyle option

zhixin 6 years ago
parent
commit
eb7e5104b2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/constants/index.js

+ 3 - 0
src/constants/index.js

@@ -112,6 +112,9 @@ const DEFAULTS = {
   height: undefined,
   classes: 'table table-bordered table-hover',
   theadClasses: '',
+  headerStyle (row, index) {
+    return {}
+  },
   rowStyle (row, index) {
     return {}
   },