openedx / paragon

💎 An accessible, theme-ready design system built for learning applications and Open edX.

Home Page:https://paragon-openedx.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conditional rendering in the Tabs component

PKulkoRaccoonGang opened this issue · comments

In the Tabs component provided by Paragon, there is non-obvious functionality for use.

For example, if the consumer needs to display specific tabs only when certain conditions (flags) are met, they should refer to a similar implementation in the Usage insights. Conditional rendering is a common scenario, and it would be beneficial to include an example of using conditional rendering for the Tabs component.