dbtek / react-popover

Totally controlled popover component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

just one single html tag in the Popover?

HazelZ opened this issue · comments

I need to put a div,a p,a input tag in the Popover, console said "Invalid prop children of type array supplied to Popover, expected a single ReactElement."

the error is that you can only have 1 elements inside the popover, create a div and put all those elements (div, p, a, span) within said div and ready