gorhom/react-native-animated-tabbar

BubbleTabBar - better support for icons that are taller than they are wide

kdo1234 opened this issue · 0 comments

Feature Request

The BubbleTabBar could have better support for icons that are taller than they are wide.

Why it is needed

The current code assumes all icons are squarish.
From BubbleTabBarItem.tsx:

  const iconContainerStyle = [
    styles.iconContainer,
    {
      minHeight: iconSize,
      minWidth: iconSize,
    },
  ];

Possible implementation

The icon could take an optional minWidth prop.