Closed yasincaliskan closed 3 years ago
Yes, good point. They are similar to each other. But I think Tab's functionality is just to switch the tab and tab's content. However Toggle can have any children and have more functionality. Eventually, I think Toggle can include Tab component.
Description
Compound Component
pattern.Toggle
should haveonToggle
function and children nodes likeToggle.Item
.Usage
Related Issue