{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/845","labels_url":"https://api.github.com/repos/facebook/react-native/issues/845/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/845/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/845/events","html_url":"https://github.com/facebook/react-native/pull/845","id":68365817,"number":845,"title":"[Text] Add textDecoration style attributes","user":{"login":"KJlmfe","id":1238134,"avatar_url":"https://avatars.githubusercontent.com/u/1238134?v=3","gravatar_id":"","url":"https://api.github.com/users/KJlmfe","html_url":"https://github.com/KJlmfe","followers_url":"https://api.github.com/users/KJlmfe/followers","following_url":"https://api.github.com/users/KJlmfe/following{/other_user}","gists_url":"https://api.github.com/users/KJlmfe/gists{/gist_id}","starred_url":"https://api.github.com/users/KJlmfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KJlmfe/subscriptions","organizations_url":"https://api.github.com/users/KJlmfe/orgs","repos_url":"https://api.github.com/users/KJlmfe/repos","events_url":"https://api.github.com/users/KJlmfe/events{/privacy}","received_events_url":"https://api.github.com/users/KJlmfe/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:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"a2","id":241156,"avatar_url":"https://avatars.githubusercontent.com/u/241156?v=3","gravatar_id":"","url":"https://api.github.com/users/a2","html_url":"https://github.com/a2","followers_url":"https://api.github.com/users/a2/followers","following_url":"https://api.github.com/users/a2/following{/other_user}","gists_url":"https://api.github.com/users/a2/gists{/gist_id}","starred_url":"https://api.github.com/users/a2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2/subscriptions","organizations_url":"https://api.github.com/users/a2/orgs","repos_url":"https://api.github.com/users/a2/repos","events_url":"https://api.github.com/users/a2/events{/privacy}","received_events_url":"https://api.github.com/users/a2/received_events","type":"User","site_admin":false},"milestone":null,"comments":27,"created_at":"2015-04-14T13:00:37Z","updated_at":"2015-07-14T11:07:04Z","closed_at":"2015-06-23T23:49:23Z","pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/845","html_url":"https://github.com/facebook/react-native/pull/845","diff_url":"https://github.com/facebook/react-native/pull/845.diff","patch_url":"https://github.com/facebook/react-native/pull/845.patch"},"body":"I add `textDecorationLine`, `textDecorationStyle`, `textDecorationColor` style property for Text module.\r\n\r\nAnd it follows the CSS naming convention and using method is same with CSS.\r\n\r\n1. `textDecorationLine` refers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-line\r\n2. `textDecorationStyle` refers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-style\r\n3. `textDecorationColor`refers to: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-color\r\n\r\nHere is a simple demo:\r\n\r\n```javascript\r\n<Text style={{textDecorationLine: 'underline', textDecorationStyle: 'solid'}}>\r\n  Solid underline\r\n</Text>\r\n<Text style={{textDecorationLine: 'underline', textDecorationStyle: 'double', textDecorationColor: '#ff0000'}}>\r\n  Double underline with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'underline', textDecorationStyle: 'dashed', textDecorationColor: '#9CDC40'}}>\r\n  Dashed underline with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'underline', textDecorationStyle: 'dotted', textDecorationColor: 'blue'}}>\r\n  Dotted underline with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'none'}}>\r\n  None textDecoration\r\n</Text>\r\n<Text style={{textDecorationLine: 'line-through', textDecorationStyle: 'solid'}}>\r\n  Solid line-through\r\n</Text>\r\n<Text style={{textDecorationLine: 'line-through', textDecorationStyle: 'double', textDecorationColor: '#ff0000'}}>\r\n  Double line-through with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'line-through', textDecorationStyle: 'dashed', textDecorationColor: '#9CDC40'}}>\r\n  Dashed line-through with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'line-through', textDecorationStyle: 'dotted', textDecorationColor: 'blue'}}>\r\n  Dotted line-through with custom color\r\n</Text>\r\n<Text style={{textDecorationLine: 'underline line-through'}}>\r\n  Both underline and line-through\r\n</Text>\r\n```\r\n\r\n￼\r\n![2015-04-15 8 48 20](https://cloud.githubusercontent.com/assets/1238134/7158989/9451071a-e3b1-11e4-929e-a71c10f0884e.png)"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/121202343","html_url":"https://github.com/facebook/react-native/pull/845#issuecomment-121202343","issue_url":"https://api.github.com/repos/facebook/react-native/issues/845","id":121202343,"user":{"login":"MossP","id":10449262,"avatar_url":"https://avatars.githubusercontent.com/u/10449262?v=3","gravatar_id":"","url":"https://api.github.com/users/MossP","html_url":"https://github.com/MossP","followers_url":"https://api.github.com/users/MossP/followers","following_url":"https://api.github.com/users/MossP/following{/other_user}","gists_url":"https://api.github.com/users/MossP/gists{/gist_id}","starred_url":"https://api.github.com/users/MossP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MossP/subscriptions","organizations_url":"https://api.github.com/users/MossP/orgs","repos_url":"https://api.github.com/users/MossP/repos","events_url":"https://api.github.com/users/MossP/events{/privacy}","received_events_url":"https://api.github.com/users/MossP/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T11:07:04Z","updated_at":"2015-07-14T11:07:04Z","body":"That fixed it, thanks @ide. Sorry for the newbie error."}}