umhan35 / react-native-search-bar

The high-quality iOS native search bar for react native.
MIT License
867 stars 209 forks source link

Update index.d.ts to support style #147

Closed Mokto closed 6 years ago

iRoachie commented 6 years ago

Hey @Mokto there's no style prop for the SearchBar.

Mokto commented 6 years ago

But I am using the style prop, and it does modify the search-bar style.

Do you need an example ?

iRoachie commented 6 years ago

Could you show me your usage of this?

Mokto commented 6 years ago

https://github.com/monicahq/chandler/blob/develop/src/pages/Contacts/Navbar/Navbar.ios.tsx

Look at this page ;) The search bar is inserted into a react-native-navbar component.

iRoachie commented 6 years ago

You're right! Sorry about that mate, I was thinking purely on the values on the native side, but it seems React Native and UIManager do a little magic behind the scenes for some properties.

iRoachie commented 6 years ago

Published! https://github.com/umhan35/react-native-search-bar/releases/tag/v3.4.1

Mokto commented 6 years ago

Thanks !!