DropdownItem custom variant crash #1671
Unanswered
DaniilNaletov
asked this question in
Help
Replies: 1 comment
-
Anyone?) I just want to know, should I wait for fix or It's expected behaviour and I should to find a workaround)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm trying to build a custom variant for
<DropdownItem />
withextendVariants
.So, my code looks like:
Then I use it as usual inside
<Dropdown />
:But when I open the dropdown with
<MyDropdownItem />
inside - I got crash:So, is it possible to extend
<DropdownItem />
(and any other NextUI component), or there are only limited list of components(like Button, Input) that can be extended?Beta Was this translation helpful? Give feedback.
All reactions