mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(docs): broken link in custom variants page (#5522)
This commit is contained in:
parent
9dceb116ce
commit
67f8665ab5
@ -13,7 +13,7 @@ HeroUI allows you to create new variants for components by extending and customi
|
||||
|
||||
## Creating new variants for non-slots components
|
||||
|
||||
Let's use the [Button](/docs/components/button) component as an example. It's a non-slots component, and you can view its source styles [here](https://github.com/heroui/heroui/blob/feat/v2/packages/core/theme/src/components/button.ts).
|
||||
Let's use the [Button](/docs/components/button) component as an example. It's a non-slots component, and you can view its source styles [here](https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/button.ts).
|
||||
|
||||
> **Note**: If you are not familiar with the variants concept, please refer to the [Tailwind Variants](https://www.tailwind-variants.org/docs/variants) documentation.
|
||||
|
||||
@ -91,7 +91,7 @@ import customVariantsNoSlots from "@/content/customization/custom-variants/no-sl
|
||||
|
||||
## Creating new variants for slots components
|
||||
|
||||
The `extendVariants` function can also be used with slot-based components like [Input](/docs/components/input) to add or override variants. You can view the Input component's source styles [here](https://github.com/heroui/heroui/blob/feat/v2/packages/core/theme/src/components/input.ts).
|
||||
The `extendVariants` function can also be used with slot-based components like [Input](/docs/components/input) to add or override variants. You can view the Input component's source styles [here](https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/input.ts).
|
||||
|
||||
> **Note**: If you are not familiar with the variants/slots concept, please refer to the [Tailwind Variants](https://www.tailwind-variants.org/docs/slots#slots-with-variants) documentation.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user