Skip to content
This repository was archived by the owner on Jul 19, 2020. It is now read-only.
This repository was archived by the owner on Jul 19, 2020. It is now read-only.

RouterLink to support child components #192

@jetli

Description

@jetli

Description
Can we add child components support to RouterLink ? Now we can only use simple text property to set children of RouterLink, e.g.

<RouterLink ...>
    <i class="ion-edit"></i> { "Edit Article" }
</RouterLink >

a senario: https://github.com/jetli/rust-yew-realworld-example-app/blob/a99af18ec64ef74d6c3ac97419fc7de47eaa892d/crates/conduit-wasm/src/components/article/article_actions.rs#L79 , similar to button bellow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedThe maintainers are unlikely to implement this in a timely manner, but will accept PRsenhancementNew feature or requesthigh priorityIssues with this tag will be worked on before others

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions