Skip to content

2.6.1

Latest

Choose a tag to compare

@heysem-useinsider heysem-useinsider released this 09 Aug 15:46
v2.6.1
cae347b

Good day, Everyone! 👋 This version introduces <IconCell /> which is a new cell type derived from <AccessoryCell />. Most existing cells are now derived from <IconCell />. Also, this version comes with some bug fixes and refinements. Thanks to @yuhao1118 and @yk4to for their contributions.

🚨 Breaking Changes:

  • <SwitchCell /> on iOS doesn't switch when the cell itself is pressed anymore, a new prop called switchOnCell is now introduced to control whether the cell controls the switch.
  • The header text for the <Section /> component is now uppercase by default.

✨ What's new:

  • Use TouchableOpacity and TouchableHighlight on the web instead of the TouchableNativeFeedback that was causing crashes.
  • Added headerCapitalized and footerCapitalized to <Section />. These properties control whether the header and footer are uppercase. The default is true on iOS, false on Android or Web.
  • Added titleNumberOfLines, titleEllipsizeMode, subtitleNumberOfLines, and subtitleEllipsizeMode props to <StaticCell />.
  • Added switchOnCell to <SwitchCell /> which controls whether a press on the cell itself toggles the switch.

🐛 Bug Fixes:

  • Fixed a bug that was causing the library not to work on the web.
  • Fixed a few issues in the TypeScript types.