Skip to content

Commit

Permalink
Removed navigationImage now it's optional
Browse files Browse the repository at this point in the history
Used to throw without it but now better to leave it empty so shows the default Android search icon
  • Loading branch information
grahammendick committed Jul 1, 2023
1 parent 390a3f9 commit 5f5603d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions documentation/native/navigation-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ <h2>Note</h2>
</div>
<pre><code class="language-jsx">import {SearchBar} from 'navigation-react-native';

&lt;NavigationBar
navigationImage={require('./search.png')}
title="Inbox">
&lt;NavigationBar title="Inbox">
&lt;SearchBar
toolbar={true}
text={text}
Expand Down

0 comments on commit 5f5603d

Please sign in to comment.