19 lines
404 B
JavaScript
19 lines
404 B
JavaScript
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;
|