Skip to content

Support setting multiple children in setStackRoot #4441

@guyca

Description

@guyca

Currently setStackRoot method allows us to reset a stacks root to a single child. We need to support setting multiple children, similar to the stack declaration api which accepts a children array.
This feature should be backwards compatible.

API

Navigation.setStackRoot(this.props.componentId, [
    {},
    {}
  ]
);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions