{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/900","labels_url":"https://api.github.com/repos/facebook/react-native/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/900/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/900/events","html_url":"https://github.com/facebook/react-native/issues/900","id":69121898,"number":900,"title":"Warn when borderRadius is used without borderWidth","user":{"login":"frostney","id":554648,"avatar_url":"https://avatars.githubusercontent.com/u/554648?v=3","gravatar_id":"","url":"https://api.github.com/users/frostney","html_url":"https://github.com/frostney","followers_url":"https://api.github.com/users/frostney/followers","following_url":"https://api.github.com/users/frostney/following{/other_user}","gists_url":"https://api.github.com/users/frostney/gists{/gist_id}","starred_url":"https://api.github.com/users/frostney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frostney/subscriptions","organizations_url":"https://api.github.com/users/frostney/orgs","repos_url":"https://api.github.com/users/frostney/repos","events_url":"https://api.github.com/users/frostney/events{/privacy}","received_events_url":"https://api.github.com/users/frostney/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-17T11:33:05Z","updated_at":"2015-04-18T23:07:10Z","closed_at":"2015-04-18T23:07:10Z","body":"When a `<View />` component specifies `borderRadius`, it will only show up if `borderWidth` is specified as well.\r\n\r\nExample code (borderRadius not showing up):\r\n```javascript\r\nvar MyComponent = React.createClass({\r\n  render() {\r\n    return <View style={styles.example} />;\r\n  }\r\n});\r\n\r\nvar styles = StyleSheet.create({\r\n  example: {\r\n    borderRadius: 4,\r\n    width: 100,\r\n    height: 100\r\n  }\r\n});\r\n```\r\n\r\nExample code (borderRadius showing up):\r\n```javascript\r\nvar MyComponent = React.createClass({\r\n  render() {\r\n    return <View style={styles.example} />;\r\n  }\r\n});\r\n\r\nvar styles = StyleSheet.create({\r\n  example: {\r\n    borderRadius: 4,\r\n    borderWidth: 1,\r\n    borderColor: 'black',\r\n    width: 100,\r\n    height: 100\r\n  }\r\n});\r\n```\r\n\r\nIt would be amazing to show a warning when `borderRadius` is used without `borderWidth`. There is an exception though: For `<Image />` components the `borderWidth` does not need to be specified for the border radius to show up."}}