{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/18387","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/18387/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/18387/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/18387/events","html_url":"https://github.com/facebook/react-native/pull/18387","id":305349660,"number":18387,"title":"iOS textTransform style support","user":{"login":"TomSwift","id":575821,"avatar_url":"https://avatars2.githubusercontent.com/u/575821?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSwift","html_url":"https://github.com/TomSwift","followers_url":"https://api.github.com/users/TomSwift/followers","following_url":"https://api.github.com/users/TomSwift/following{/other_user}","gists_url":"https://api.github.com/users/TomSwift/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSwift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSwift/subscriptions","organizations_url":"https://api.github.com/users/TomSwift/orgs","repos_url":"https://api.github.com/users/TomSwift/repos","events_url":"https://api.github.com/users/TomSwift/events{/privacy}","received_events_url":"https://api.github.com/users/TomSwift/received_events","type":"User","site_admin":false},"labels":[{"id":869759799,"url":"https://api.github.com/repos/facebook/react-native/labels/:clipboard:Release%20Notes","name":":clipboard:Release Notes","color":"0e8a16","default":false},{"id":257497884,"url":"https://api.github.com/repos/facebook/react-native/labels/:large_blue_diamond:iOS","name":":large_blue_diamond:iOS","color":"bfd4f2","default":false},{"id":872547321,"url":"https://api.github.com/repos/facebook/react-native/labels/:star2:Enhancement%20PR","name":":star2:Enhancement PR","color":"0e8a16","default":false},{"id":196858975,"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"ffffff","default":false},{"id":337217254,"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-14T22:20:10Z","updated_at":"2018-03-26T16:24:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/18387","html_url":"https://github.com/facebook/react-native/pull/18387","diff_url":"https://github.com/facebook/react-native/pull/18387.diff","patch_url":"https://github.com/facebook/react-native/pull/18387.patch"},"body":"## Motivation\r\n\r\nIssue [#2088](https://github.com/facebook/react-native/issues/2088).  \r\n\r\nThe basic desire is to have a declarative mechanism to transform text content to uppercase or lowercase or titlecase (\"capitalized\").\r\n\r\n## Test Plan\r\n\r\nMy test plan involves having added a test-case to the RNTester app within the `<Text>` component area.   I then manually verified that the rendered content met my expectation.\r\n\r\nHere is the markup that exercises my enhancement:\r\n\r\n```\r\n<View>\r\n  <Text style={{ textTransform: 'uppercase'}}>\r\n    This text should be uppercased.\r\n  </Text>\r\n  <Text style={{ textTransform: 'lowercase'}}>\r\n    This TEXT SHOULD be lowercased.\r\n  </Text>\r\n  <Text style={{ textTransform: 'capitalize'}}>\r\n    This text should be CAPITALIZED.\r\n  </Text>\r\n  <Text style={{ textTransform: 'capitalize'}}>\r\n    Mixed:{' '}\r\n    <Text style={{ textTransform: 'uppercase'}}>\r\n      uppercase{' '}\r\n    </Text>\r\n    <Text style={{ textTransform: 'lowercase'}}>\r\n      LoWeRcAsE{' '}\r\n    </Text>\r\n    <Text style={{ textTransform: 'capitalize'}}>\r\n      capitalize each word\r\n    </Text>\r\n  </Text>\r\n</View>\r\n```\r\n\r\nAnd here is a screenshot of the result:\r\n\r\n![screen shot 2018-03-14 at 3 01 02 pm](https://user-images.githubusercontent.com/575821/37433772-7abe7fa0-279a-11e8-9ec9-fb3aa1952dad.png)\r\n\r\n\r\n\r\n\r\n## Related PRs\r\n\r\n[Website Documentation PR](https://github.com/facebook/react-native-website/pull/254)\r\nhttps://github.com/facebook/react-native-website/pull/254\r\n\r\n## Release Notes\r\n\r\n[IOS] [ENHANCEMENT] [Text] - added textTransform style property enabling declarative casing transformations\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/376226262","html_url":"https://github.com/facebook/react-native/pull/18387#issuecomment-376226262","issue_url":"https://api.github.com/repos/facebook/react-native/issues/18387","id":376226262,"user":{"login":"TomSwift","id":575821,"avatar_url":"https://avatars2.githubusercontent.com/u/575821?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSwift","html_url":"https://github.com/TomSwift","followers_url":"https://api.github.com/users/TomSwift/followers","following_url":"https://api.github.com/users/TomSwift/following{/other_user}","gists_url":"https://api.github.com/users/TomSwift/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSwift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSwift/subscriptions","organizations_url":"https://api.github.com/users/TomSwift/orgs","repos_url":"https://api.github.com/users/TomSwift/repos","events_url":"https://api.github.com/users/TomSwift/events{/privacy}","received_events_url":"https://api.github.com/users/TomSwift/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T16:24:49Z","updated_at":"2018-03-26T16:24:49Z","author_association":"CONTRIBUTOR","body":"@shergin - is this good to go, then?   It's still showing \"Changes requested\" but I'm not clear that there's anything else for me to address."}}
{"actor":{"display_login":"TomSwift"}}