payload: {"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/860","repository_url":"https://api.github.com/repos/react-native-community/react-native-svg","labels_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/860/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/860/events","html_url":"https://github.com/react-native-community/react-native-svg/pull/860","id":385827377,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NzA5NDkw","number":860,"title":"Allow fontWeight to be a number","user":{"login":"kristerkari","id":993108,"node_id":"MDQ6VXNlcjk5MzEwOA==","avatar_url":"https://avatars0.githubusercontent.com/u/993108?v=4","gravatar_id":"","url":"https://api.github.com/users/kristerkari","html_url":"https://github.com/kristerkari","followers_url":"https://api.github.com/users/kristerkari/followers","following_url":"https://api.github.com/users/kristerkari/following{/other_user}","gists_url":"https://api.github.com/users/kristerkari/gists{/gist_id}","starred_url":"https://api.github.com/users/kristerkari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristerkari/subscriptions","organizations_url":"https://api.github.com/users/kristerkari/orgs","repos_url":"https://api.github.com/users/kristerkari/repos","events_url":"https://api.github.com/users/kristerkari/events{/privacy}","received_events_url":"https://api.github.com/users/kristerkari/received_events","type":"User","site_admin":false},"labels":[{"id":312539849,"node_id":"MDU6TGFiZWwzMTI1Mzk4NDk=","url":"https://api.github.com/repos/react-native-community/react-native-svg/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-11-29T16:46:26Z","updated_at":"2019-07-20T17:12:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/pulls/860","html_url":"https://github.com/react-native-community/react-native-svg/pull/860","diff_url":"https://github.com/react-native-community/react-native-svg/pull/860.diff","patch_url":"https://github.com/react-native-community/react-native-svg/pull/860.patch"},"body":"Currently passing `fontWeight` property as a number (e.g. `fontWeigeht={20}`) causes a crash. This is a problem because SVGR always turns numeric `fontWeight` values to numbers.\r\n\r\nAlways casting fontWeight property to string allows the value to be a number without causing a crash.\r\n\r\nMore info in SVGR's repo:\r\nhttps://github.com/smooth-code/svgr/issues/243\r\n\r\n@msand "},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/comments/513484081","html_url":"https://github.com/react-native-community/react-native-svg/pull/860#issuecomment-513484081","issue_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/860","id":513484081,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMzQ4NDA4MQ==","user":{"login":"msand","id":1131362,"node_id":"MDQ6VXNlcjExMzEzNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1131362?v=4","gravatar_id":"","url":"https://api.github.com/users/msand","html_url":"https://github.com/msand","followers_url":"https://api.github.com/users/msand/followers","following_url":"https://api.github.com/users/msand/following{/other_user}","gists_url":"https://api.github.com/users/msand/gists{/gist_id}","starred_url":"https://api.github.com/users/msand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msand/subscriptions","organizations_url":"https://api.github.com/users/msand/orgs","repos_url":"https://api.github.com/users/msand/repos","events_url":"https://api.github.com/users/msand/events{/privacy}","received_events_url":"https://api.github.com/users/msand/received_events","type":"User","site_admin":false},"created_at":"2019-07-20T17:12:25Z","updated_at":"2019-07-20T17:12:25Z","author_association":"COLLABORATOR","body":"@kristerkari can you try with bf0adb4 from https://github.com/react-native-community/react-native-svg/compare/develop\r\nIt has improved support for variable font weights, still better in ios than android but at least something.\r\nIt requires API level 28 / P to have all the relevant apis available, some others from 26 / O, earlier than that, it only has a heuristic for if its normal or bold font weight / style, with absoluteFontWeight >= 550 as the criteria for being bold (halfway from normal 400 to bold 700)"}}
other: {"actor":{"display_login":"msand"}}