Skip to content

Commit 5118090

Browse files
authored
Change 'title' to 'label' in header items (#1504)
1 parent a95baf2 commit 5118090

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ Example:
945945
unstable_headerLeftItems: () => [
946946
{
947947
type: 'button',
948-
title: 'Edit',
948+
label: 'Edit',
949949
onPress: () => {
950950
// Do something
951951
},
@@ -989,7 +989,7 @@ Example:
989989
unstable_headerRightItems: () => [
990990
{
991991
type: 'button',
992-
title: 'Edit',
992+
label: 'Edit',
993993
onPress: () => {
994994
// Do something
995995
},

0 commit comments

Comments
 (0)