thg303 / native-base-autocomplete

autocomplete component for native-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read property style of undefined

webdevfarhan opened this issue · comments

What i did ?

  1. yarn add native-base-autocomplete
  2. import Autocomplete from 'native-base-autocomplete';

Using this gives error: Cannot read property style of undefined

Any Solution or i am doing something wrong ?

that's the correct way of using this repo.
please checkout the latest version. maybe that happened because of some dependency update process.

You updated this repository 12 minutes ago, I can see that you have copied the same repo with this one https://github.com/mrlaessig/react-native-autocomplete-input , What is the difference in your repository ?

that's right. that repository is using react-native components, but this one is using native-base components and their theme of course. The goal is to keep the package sync with both repositories.

okay great!