{"action":"closed","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/3000","repository_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/3000/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/3000/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/3000/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/issues/3000","id":298179959,"node_id":"MDU6SXNzdWUyOTgxNzk5NTk=","number":3000,"title":"addStyle from bootstrapUtils warning in 2.13.0","user":{"login":"MadLord80","id":7018270,"node_id":"MDQ6VXNlcjcwMTgyNzA=","avatar_url":"https://avatars3.githubusercontent.com/u/7018270?v=4","gravatar_id":"","url":"https://api.github.com/users/MadLord80","html_url":"https://github.com/MadLord80","followers_url":"https://api.github.com/users/MadLord80/followers","following_url":"https://api.github.com/users/MadLord80/following{/other_user}","gists_url":"https://api.github.com/users/MadLord80/gists{/gist_id}","starred_url":"https://api.github.com/users/MadLord80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadLord80/subscriptions","organizations_url":"https://api.github.com/users/MadLord80/orgs","repos_url":"https://api.github.com/users/MadLord80/repos","events_url":"https://api.github.com/users/MadLord80/events{/privacy}","received_events_url":"https://api.github.com/users/MadLord80/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-19T07:15:15Z","updated_at":"2018-12-14T15:06:54Z","closed_at":"2018-12-14T15:06:54Z","author_association":"NONE","body":"I updated react-bootstrap from 2.8.0 to 2.13.0 and get warning for addStyle.\r\nThis code (i used typescript)\r\n```\r\nimport * as React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport * as RB from 'react-bootstrap';\r\n\r\nRB.utils.bootstrapUtils.addStyle(RB.Panel, 'my');\r\nclass App extends React.Component {\r\n  render() {\r\n    return (\r\n      <div className=\"App\">\r\n        <RB.Panel bsStyle=\"my\">\r\n          <RB.Panel.Heading>Test</RB.Panel.Heading>\r\n        </RB.Panel>\r\n      </div>\r\n    );\r\n  }\r\n}\r\nReactDOM.render(<App />, document.getElementById('root'));\r\n```\r\ncreate the warning: \"Warning: Failed prop type: Invalid prop `bsStyle` of value `my` supplied to `Panel`, expected one of [\"success\",\"warning\",\"danger\",\"info\",\"default\",\"primary\"].\"\r\n\r\nBut class in HTML added:\r\n`<div class=\"panel panel-my\"><div class=\"panel-heading\">Test</div></div>`"}}
{"actor":{"display_login":"taion"}}