Skip to content

Commit

Permalink
fix: typo in stack-buttons docs (#7777)
Browse files Browse the repository at this point in the history
Co-authored-by: Asaf Korem <[email protected]>
  • Loading branch information
kirgy and asafkorem authored Oct 16, 2024
1 parent ac26b03 commit 6f84dab
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 6f84dab

Please sign in to comment.