Skip to content

2.0.3 — Chip padding fix & Additional APIs demos

Latest

Choose a tag to compare

@sauravgupta-dotcom sauravgupta-dotcom released this 02 Jul 15:56
· 15 commits to master since this release

Patch release: chip layout fix when close controls are hidden, plus interactive Expo demos for all 2.0.2 control APIs.

Fixed

  • Multi-select chips with hideChipClose: equal horizontal padding so labels are visually centered (no longer left-heavy when the × control is omitted)

Documentation / examples

  • Reverted long copy-paste examples from the package README (table of 2.0.2+ controls remains)
  • Added interactive APIs tab in the Expo example: AdditionalApisDemo.tsx
    • activeOptionsLabelStyle, maxSelected, optionIdKey / optionLabelKey, optionsAlign, optionsMaxHeight
    • defaultOpen / onOpenChange, editable / hideDropdownIcon, hideChipClose, renderMultiChipLeading
  • Example app chrome: SectionList | ScrollView | APIs tabs
  • Smoke tests assert Additional APIs demo coverage

Install

npm install react-native-multi-selectbox@2.0.3

Links