New Components Added To NativeBase

Shweta Pal
The NativeBase v2.0 Blog [ Deprecated ]
2 min readJul 17, 2017

We have added few more components in version 2.2.1.

Swipeable List-

Swipeable List are ListItems that swipe open and close. They handle default native behavior such as closing rows when other rows are opened.

Swipeable List contains 2 components:

  • Multiple Swipeable List
  • Swipe Row
Types of Swipeable List

Advanced Deck Swiper-

Using this component now it’s possible to swipe Deck with callback function.

Icon ActionSheet-

NativeBase ActionSheet is a wrapper around the React Native ActionSheetIOS component. We did an add-on to this component using the Icon ActionSheet. It’s available for Android only and not for iOS.

Picker-

It just renders the native picker component on iOS and Android.

The above set of code refers to the basic structure of picker which is available for both iOS as well as Android. We have added set of Advanced pickers but that is available for iOS only.

  • Placeholder Picker, placeholder picker without note - These 2 components allow to add placeholder along with picker.
  • Picker with Custom Back Button - It allows to customize the text in back button which is available at header.
  • Picker with Custom Header, picker with custom header text, picker with custom header style - All these components allow to customize the header, change the color of the header, add style, change the text or title of that screen.

For more details regarding all the components refer our documentation.

Comment any feedback / question that you have, join us on Slack and,

--

--