瀏覽代碼

update comment

tumao 4 年之前
父節點
當前提交
b335524ade
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/src/components/grid/Table.tsx

+ 1 - 0
client/src/components/grid/Table.tsx

@@ -142,6 +142,7 @@ const EnhancedTable: FC<TableType> = props => {
         .offsetHeight;
 
       // table default row height is 54
+      // if pass component as row item, its max height should be 54 too
       const rowHeight = 54;
       // table header default height is 57
       const tableHeaderHeight: number = 57;