Currently the TabBar component gets the paragraph elements as the children which is not so optimal. Inside the TabBar component the use of slot is not as it should be. In this ticket, the current approach should be adjusted by creating a new TabBarItem component and use that instead of paragraph element as the slotted element and inside the TabBar component the proper use of slot is achieved.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Description
Currently the TabBar component gets the paragraph elements as the children which is not so optimal. Inside the TabBar component the use of slot is not as it should be. In this ticket, the current approach should be adjusted by creating a new TabBarItem component and use that instead of paragraph element as the slotted element and inside the TabBar component the proper use of slot is achieved.
Code of Conduct