Skip to content

Renderer.add should allow us to inject a component at the specified index #21

@himanshu-satija

Description

@himanshu-satija

Currently it is not possible to inject a component at a specific index. It is just pushed to the end in the given slot.

this.pluginStore.executeFunction("Renderer.add", "header-right", () => <Button>Hello world!</Button>);

While we can achieve the required order by changing the order of installation of plugins, it is not the best way because the order of installation should be independent of the order of components in UI.

We need to be able to specify an index with this method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions