Skip to content

Commit 6540cf4

Browse files
authored
Merge pull request #10 from PaitoAnderson/patch-1
Don't require a renderIcon
2 parents 6e8b40e + d059ef3 commit 6540cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Autocomplete/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class Autocomplete extends Component {
150150
return (
151151
<Fragment>
152152
<View style={[styles.inputContainerStyle, inputContainerStyle]}>
153-
{renderIcon()}
153+
{renderIcon && renderIcon()}
154154
<TextInput
155155
ref={ref => {
156156
this.container = ref;

0 commit comments

Comments
 (0)