react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Why does TabBarIOS.Item's `icon` property have a `scale` value?

Open dy86 opened this issue 10 years ago • 4 comments

In the UIExplorer example : icon={{uri: base64Icon, scale: 1}}

icon is the Image.propTypes.source type, but that type have not scale named value:

type ImageSource = { uri: string; };

how can i known any other named value supported by the icon or Image.propTypes.source ?

dy86 avatar Dec 06 '15 01:12 dy86

Hey dygg, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If this is a feature request or a bug that you would like to be fixed by the team, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • If you don't know how to do something or not sure whether some behavior is expected or a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • We welcome clear issues and PRs that are ready for in-depth discussion; thank you for your contributions!

facebook-github-bot avatar Dec 06 '15 01:12 facebook-github-bot

Good point! We should change the definition of selectedIcon propType to include scale. This would be a nice easy first pull request :)

brentvatne avatar Jan 03 '16 04:01 brentvatne

@facebook-github-bot answered

mkonicek avatar Mar 20 '16 17:03 mkonicek

Closing this issue as @mkonicek says the question asked has been answered. Please help us by asking questions on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.

facebook-github-bot avatar Mar 20 '16 17:03 facebook-github-bot