Skip to content

Commit

Permalink
fix: Wrong fn-name for shouldClearOnSubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
patricronge committed Nov 16, 2022
1 parent 8038c66 commit 7eb2c95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class SearchBarManager : ViewGroupManager<SearchBarView>() {
}

@ReactProp(name = "shouldClearOnSubmit")
fun setPlaceholder(view: SearchBarView, shouldClearOnSubmit: Boolean?) {
fun setShouldClearOnSubmit(view: SearchBarView, shouldClearOnSubmit: Boolean?) {
if (shouldClearOnSubmit != null) {
view.shouldClearOnSubmit = shouldClearOnSubmit
}
Expand Down

0 comments on commit 7eb2c95

Please sign in to comment.