-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Labels
Description
Hello again and another question.
<Tabs>
<Tabs.Tab renderAs="span" className="has-background-success">
...
</Tabs.Tab>
</Tabs>The code above will generate the following:
<div class="tabs">
<ul>
<li class="has-background-success">
<span>
...
</span>
</li>
</ul>
</div>I was wondering if there is a way to style the span element (determined by the renderAs prop) based on my needs by adding a prop to the <Tabs.Tab> component?
As you can see the className='has-background-primary' styles the <li> element while I would need a way to achieve this:
<div class="tabs">
<ul>
<li class="has-background-success">
<span class='p-0'>
...
</span>
</li>
</ul>
</div>All the best,
Reactions are currently unavailable