{"action":"closed","issue":{"url":"https://api.github.com/repos/grommet/grommet/issues/735","repository_url":"https://api.github.com/repos/grommet/grommet","labels_url":"https://api.github.com/repos/grommet/grommet/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/grommet/grommet/issues/735/comments","events_url":"https://api.github.com/repos/grommet/grommet/issues/735/events","html_url":"https://github.com/grommet/grommet/issues/735","id":168499067,"number":735,"title":"Incorrect use of oneOf propType in the Menu component","user":{"login":"jameswyse","id":1144357,"avatar_url":"https://avatars.githubusercontent.com/u/1144357?v=3","gravatar_id":"","url":"https://api.github.com/users/jameswyse","html_url":"https://github.com/jameswyse","followers_url":"https://api.github.com/users/jameswyse/followers","following_url":"https://api.github.com/users/jameswyse/following{/other_user}","gists_url":"https://api.github.com/users/jameswyse/gists{/gist_id}","starred_url":"https://api.github.com/users/jameswyse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameswyse/subscriptions","organizations_url":"https://api.github.com/users/jameswyse/orgs","repos_url":"https://api.github.com/users/jameswyse/repos","events_url":"https://api.github.com/users/jameswyse/events{/privacy}","received_events_url":"https://api.github.com/users/jameswyse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-31T03:15:26Z","updated_at":"2016-08-01T17:27:01Z","closed_at":"2016-08-01T17:27:01Z","body":"I started getting the following warning in my console after upgrading to React 15.3.0:\r\n\r\n```\r\nWarning: Invalid argument supplied to oneOf, expected an instance of array.\r\n```\r\n\r\nThe stacktrace was useless but I tracked it down to the Grommet `Menu` component. See [Menu.js:522](https://github.com/grommet/grommet/blob/master/src/js/components/Menu.js#L522) - it should be `PropTypes.oneOf(['expand'])` 😄 \r\n\r\nCodepen: http://codepen.io/anon/pen/JKBkKy?editors=1111"}}
{"actor":{"display_login":"alansouzati"}}