docs(components): split color and variant into two sections

This commit is contained in:
Benjamin Canac
2024-07-26 15:17:46 +02:00
parent 3a1ba1dfa3
commit aca319bc36
6 changed files with 82 additions and 15 deletions

View File

@@ -97,9 +97,31 @@ props:
You can inspect the DOM to see that the content of the inactive tab is not rendered.
::
### Style
### Color
Use the `color` and `variant` props to change the style of the Tabs.
Use the `color` prop to change the color of the Tabs.
::component-code
---
ignore:
- content
external:
- items
hide:
- class
props:
color: gray
class: 'w-full'
content: false
items:
- label: Account
- label: Password
---
::
### Variant
Use the `variant` prop to change the variant of the Tabs.
::component-code
---