Skip to content

[Feature request] add ui kitten eva-icons support #4

@kockok

Description

@kockok

Hi, I'm using the ui-kitten icons.

const evaIconRenderer = ({icon}: IIconRenderer) => <Icon name={icon} />;

const CustomTabBar: React.FC<BottomTabBarProps> = ({
  state,
  descriptors,
  navigation,
}) => {
  return (
    <BubbleTabBar
      state={state}
      descriptors={descriptors}
      navigation={navigation}
      tabs={tabs}
      iconRenderer={evaIconRenderer}
    />
  );
};

Even with the iconRenderer, I cannot get the icons show up.

Possibly this is due to the fact that eva icon is rendering icons with JSX elements.

The active highlight becomes eerily big.
Screenshot 2020-07-19 at 12 06 10 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions