deven-org / boiler

A fully customisable and tokenised design system boilerplate built by Accenture Song
https://boilerds.com/
MIT License
16 stars 7 forks source link

TabBar - Create a TabBarItem component and pass it as a slotted elements #1135

Closed angsherpa456 closed 2 months ago

angsherpa456 commented 2 months ago

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