Closed osslate closed 2 months ago
@nkkko @fabjanvucina are you sure that this is possible to do? This is a branch where I was experimenting but couldn't make it to work.
I tried using context but looks like you can't do that in markdown. I tried with the state and passing it down to child components but that was also a problem.
This component needs to be implemented for use across the docs:
Ideally the usage looks something like this:
Would also be nice to have an optional
icon
attribute to set an icon appearing on the left of the tab title, but deferring to @ivan-burazincc: @mikimih