Skip to content

[Feature] drag boolean props to conditionally render children.  #2

@danielrob

Description

@danielrob

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions