aperitif-editor icon indicating copy to clipboard operation
aperitif-editor copied to clipboard

[Feature] drag boolean props to conditionally render children.

Open danielrob opened this issue 6 years ago • 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>
)}

danielrob avatar Jul 11 '18 08:07 danielrob