Skip to content

Commit

Permalink
fix: typo in stack-buttons docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgy committed Apr 18, 2024
1 parent d7fcc00 commit b00b904
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ topBar: {

## Updating props of custom buttons

To update props of a mounted compoennt used as a button, you'll first need to assign it a unique id, then call the `Navigation.updateProps()` command with the id.
To update props of a mounted component used as a button, you'll first need to assign it a unique id, then call the `Navigation.updateProps()` command with the id.

Calling the updateProps command will trigger React's component lifecycle methods related to [props update](https://reactjs.org/docs/react-component.html#updating)

Expand Down

0 comments on commit b00b904

Please sign in to comment.