{"action":"created","issue":{"url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/34","labels_url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/34/comments","events_url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/34/events","html_url":"https://github.com/oblador/react-native-vector-icons/pull/34","id":110506893,"number":34,"title":"Allow passing of extra props to text element","user":{"login":"rreusser","id":572717,"avatar_url":"https://avatars.githubusercontent.com/u/572717?v=3","gravatar_id":"","url":"https://api.github.com/users/rreusser","html_url":"https://github.com/rreusser","followers_url":"https://api.github.com/users/rreusser/followers","following_url":"https://api.github.com/users/rreusser/following{/other_user}","gists_url":"https://api.github.com/users/rreusser/gists{/gist_id}","starred_url":"https://api.github.com/users/rreusser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rreusser/subscriptions","organizations_url":"https://api.github.com/users/rreusser/orgs","repos_url":"https://api.github.com/users/rreusser/repos","events_url":"https://api.github.com/users/rreusser/events{/privacy}","received_events_url":"https://api.github.com/users/rreusser/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-08T17:48:40Z","updated_at":"2015-10-13T16:04:19Z","closed_at":"2015-10-13T16:04:19Z","pull_request":{"url":"https://api.github.com/repos/oblador/react-native-vector-icons/pulls/34","html_url":"https://github.com/oblador/react-native-vector-icons/pull/34","diff_url":"https://github.com/oblador/react-native-vector-icons/pull/34.diff","patch_url":"https://github.com/oblador/react-native-vector-icons/pull/34.patch"},"body":"We're using vector icons for buttons, avatars, and widgets all over the place. I just realized that accessibility settings are causing misalignment if the text scaling is anything but the default. The fix is simple (`allowFontScaling={false}`), but I'm unable to apply it because props are passed only to the wrapper, not to the text element.\r\n\r\nThis PR addresses the issue by exposing `textPropsIOS` and `textPropsAndroid` that are passed directly to the text element. I didn't overthink this because it might not be the best way to accomplish this (allow injection of a text element of your choice maybe?), but it accomplishes what we need, affects nothing else, and could be useful.\r\n\r\nFor a similar issue, see: oblador/react-native-vector-icons#23\r\n\r\nNote: We also need the commenting-out of lines 77&78, but that's a separate issue, perhaps."},"comment":{"url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/comments/147760751","html_url":"https://github.com/oblador/react-native-vector-icons/pull/34#issuecomment-147760751","issue_url":"https://api.github.com/repos/oblador/react-native-vector-icons/issues/34","id":147760751,"user":{"login":"oblador","id":378279,"avatar_url":"https://avatars.githubusercontent.com/u/378279?v=3","gravatar_id":"","url":"https://api.github.com/users/oblador","html_url":"https://github.com/oblador","followers_url":"https://api.github.com/users/oblador/followers","following_url":"https://api.github.com/users/oblador/following{/other_user}","gists_url":"https://api.github.com/users/oblador/gists{/gist_id}","starred_url":"https://api.github.com/users/oblador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblador/subscriptions","organizations_url":"https://api.github.com/users/oblador/orgs","repos_url":"https://api.github.com/users/oblador/repos","events_url":"https://api.github.com/users/oblador/events{/privacy}","received_events_url":"https://api.github.com/users/oblador/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T16:04:19Z","updated_at":"2015-10-13T16:04:19Z","body":"Fixed in [0.8.0](https://github.com/oblador/react-native-vector-icons/releases/tag/v0.8.0)."}}