Not able to use Transition Child in the Modal Component #931
Unanswered
rahulMehndiratta2602
asked this question in
Help
Replies: 2 comments 4 replies
-
Did you find the answer for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes
…On Wed, May 18, 2022, 15:21 Charlie Østergaard ***@***.***> wrote:
Did you find the answer for this?
—
Reply to this email directly, view it on GitHub
<#931 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APCH72ZPZZQWBC622TUGKDLVKS4T3ANCNFSM5ICYXHJQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
The information contained in this electronic communication is intended
solely for the individual(s) or entity to which it is addressed. It may
contain proprietary, confidential and/or legally privileged information.
Any review, retransmission, dissemination, printing, copying or other use
of, or taking any action in reliance on the contents of this information by
person(s) or entities other than the intended recipient is strictly
prohibited and may be unlawful. If you have received this communication in
error, please notify us by responding to this email or telephone and
immediately and permanently delete all copies of this message and any
attachments from your system(s). The contents of this message do not
necessarily represent the views or policies of BITS Pilani.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I got the following error while using the <Transition.Child> tag .
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of
TransitionChild
If i comment out the Transition.Child Element and then display the modal,it is being displayed.
I am using
"@headlessui/react": "^1.4.1", "tailwindcss": "^2.2.4" ,"next": "latest", and for state management I am using "recoil": "^0.5.2",
Here is my code
Beta Was this translation helpful? Give feedback.
All reactions