HM-71. Доработки таблицы логов. Универсальной таблице добавлена возможность переопределять рендер строк и заголовков (#31)

This commit is contained in:
Nikolay
2020-07-25 14:23:52 +03:00
committed by GitHub
parent c93a1b8ddb
commit c425ffea45
19 changed files with 231 additions and 63 deletions

View File

@ -0,0 +1,18 @@
import Component from '../component';
import {createElement} from '../../utils/elementUtils';
class RowCol extends Component {
constructor (parentNode, text) {
super(null, parentNode);
createElement({
tagName: 'td',
parentNode: this.mainNode,
options: {
innerHTML: text,
},
});
}
}
export default RowCol;