{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/7406","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/7406/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/7406/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/7406/events","html_url":"https://github.com/facebook/react-native/pull/7406","id":153214120,"number":7406,"title":"[docs] Display platform-specific examples","user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-05T11:30:05Z","updated_at":"2016-05-05T15:07:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/7406","html_url":"https://github.com/facebook/react-native/pull/7406","diff_url":"https://github.com/facebook/react-native/pull/7406.diff","patch_url":"https://github.com/facebook/react-native/pull/7406.patch"},"body":"Rebased https://github.com/facebook/react-native/pull/7048\r\n\r\nSending a new PR to check that tests pass.\r\n\r\nAfter adding simulator examples, it appears that some don't show up, ex:\r\nhttp://facebook.github.io/react-native/docs/text.html#content\r\n\r\nThis is due to the fact that these examples are split into two platform-specific files. For this reason, the example code isn't being shown. The examples are also missing for TextInput.\r\n\r\n**Test plan**\r\n\r\n`cd website; npm install; npm start`\r\n\r\n![screen shot 2016-05-05 at 12 25 41 pm](https://cloud.githubusercontent.com/assets/346214/15042571/08ee77e8-12bd-11e6-98a6-967dc5fefa07.png)\r\n\r\n![screen shot 2016-05-05 at 12 25 20 pm](https://cloud.githubusercontent.com/assets/346214/15042573/119778f4-12bd-11e6-8cdd-fbf217223d45.png)\r\n\r\n![screen shot 2016-05-05 at 12 25 35 pm](https://cloud.githubusercontent.com/assets/346214/15042570/071ae992-12bd-11e6-9cf6-5aaba5e7fa17.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/217179930","html_url":"https://github.com/facebook/react-native/pull/7406#issuecomment-217179930","issue_url":"https://api.github.com/repos/facebook/react-native/issues/7406","id":217179930,"user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T15:07:27Z","updated_at":"2016-05-05T15:07:27Z","body":"@facebook-github-bot shipit"}}