MCPcopy
hub / github.com/react-navigation/react-navigation / tabBarIcon

Function tabBarIcon

example/src/BottomTabs.tsx:12–20  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

10import TouchableBounce from 'react-native/Libraries/Components/Touchable/TouchableBounce';
11
12const tabBarIcon = (name: string) => ({
13 tintColor,
14 horizontal,
15}: {
16 tintColor: string;
17 horizontal: boolean;
18}) => (
19 <MaterialIcons name={name} color={tintColor} size={horizontal ? 17 : 24} />
20);
21
22class AlbumsScreen extends React.Component {
23 static navigationOptions = {

Callers 15

AlbumClass · 0.70
LibraryClass · 0.70
FavoritesClass · 0.70
PurchasedClass · 0.70
AlbumsScreenClass · 0.70
ArticleScreenClass · 0.70
ChatScreenClass · 0.70
ContactsScreenClass · 0.70
AlbumClass · 0.70
LibraryClass · 0.70
FavoritesClass · 0.70
PurchasedClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…