{"action":"closed","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-tab-view/issues/542","repository_url":"https://api.github.com/repos/react-native-community/react-native-tab-view","labels_url":"https://api.github.com/repos/react-native-community/react-native-tab-view/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-tab-view/issues/542/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-tab-view/issues/542/events","html_url":"https://github.com/react-native-community/react-native-tab-view/issues/542","id":331904152,"node_id":"MDU6SXNzdWUzMzE5MDQxNTI=","number":542,"title":"icon not show in tabbar","user":{"login":"reza-mazarlou","id":12931141,"node_id":"MDQ6VXNlcjEyOTMxMTQx","avatar_url":"https://avatars1.githubusercontent.com/u/12931141?v=4","gravatar_id":"","url":"https://api.github.com/users/reza-mazarlou","html_url":"https://github.com/reza-mazarlou","followers_url":"https://api.github.com/users/reza-mazarlou/followers","following_url":"https://api.github.com/users/reza-mazarlou/following{/other_user}","gists_url":"https://api.github.com/users/reza-mazarlou/gists{/gist_id}","starred_url":"https://api.github.com/users/reza-mazarlou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reza-mazarlou/subscriptions","organizations_url":"https://api.github.com/users/reza-mazarlou/orgs","repos_url":"https://api.github.com/users/reza-mazarlou/repos","events_url":"https://api.github.com/users/reza-mazarlou/events{/privacy}","received_events_url":"https://api.github.com/users/reza-mazarlou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T09:02:45Z","updated_at":"2018-06-13T09:15:56Z","closed_at":"2018-06-13T09:15:56Z","author_association":"NONE","body":"hi \r\nI implement simple tab bar like this   : \r\n\r\n```\r\n  state = {\r\n        index: 0,\r\n        routes: [\r\n            { key: 'first', title: 'First',icon :'md-home' },\r\n            { key: 'second', title: 'Second' ,icon :'md-alarm' }     \r\n        ],\r\n    };\r\n\r\n    _renderIcon = ({ route }) => {\r\n        return <Icon name={route.icon} size={24} color={'#ffffff'} />;\r\n    };\r\n\r\n    _renderHeader = props => {\r\n        return (\r\n            <TabBar\r\n                {...props}\r\n                renderIcon={this._renderIcon}\r\n            />\r\n    );\r\n    };\r\n```\r\n\r\nand use above method in this TabView like this : \r\n\r\n```\r\n <TabView\r\n                    navigationState={this.state}\r\n                    renderScene={SceneMap({\r\n                        first: FirstRoute,\r\n                        second: SecondRoute\r\n                    })}\r\n                    renderHeader={this._renderHeader}\r\n                    onIndexChange={index => this.setState({ index })}\r\n                />\r\n```\r\ntabbar work very well , but icon not showing\r\n"}}
{"actor":{"display_login":"satya164"}}