Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps. Maintained by @workos.
15.91k
stars
831
forks
source link
React.Children.only error when i click button into DialogTrigger #3220
Closed
sdilonedev closed 1 week ago
Bug report
Current Behavior
When i click the button trigger show me this error: Error: React.Children.only expected to receive a single React element child.
Expected behavior
Make a click and the Dialog opens whitout problems
Reproducible example
CodeSandbox Template
Suggested solution
Additional context
Your environment