[Feature] drag boolean props to conditionally render children.
Opened this issue · 0 comments
danielrob commented
If a prop is a boolean, suggest being able to drag it so that you can create conditional rendering of a portion of JSX.
awesomeProp
=>>>
{awesomeProp && (
<Component>
{param}
</Component>
)}