Table component: made the thead and tbody parts configurable and disabled by default