created a TabComponent