Add autoplay to tabs

This tutorial will show you how to create an autoplay tabs.
The tabs component displays first tab panel, and then display the second, the third…
We will write some code to automatically switch tab panels and get it to loop.