Skip to content

Commit d059ef3

Browse files
Don't require a renderIcon
1 parent 6e8b40e commit d059ef3

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)