Skip to content

Nested components and their children hierarchy #6

@alerdenisov

Description

@alerdenisov

I found great idea to implement something such as props.children from React.

<CustomPanel ...> 
  <Props>
    return { foo = 'bar' }
  </Props>
  <Children>
    <Text ...> Custom hierarhy text </Text>
  </Children>
</CustomPanel>

And inside declaration of CustomPanel allow to use tag Hierarhy or Children to draw populated hierarhy.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions