danielrob/aperitif-editor

[Feature] drag boolean props to conditionally render children.

Opened this issue · 0 comments

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>
)}