{"action":"closed","issue":{"url":"https://api.github.com/repos/gajus/react-css-modules/issues/97","repository_url":"https://api.github.com/repos/gajus/react-css-modules","labels_url":"https://api.github.com/repos/gajus/react-css-modules/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/gajus/react-css-modules/issues/97/comments","events_url":"https://api.github.com/repos/gajus/react-css-modules/issues/97/events","html_url":"https://github.com/gajus/react-css-modules/issues/97","id":136462794,"number":97,"title":"Apply styleName to DOM as property","user":{"login":"alexmngn","id":4203845,"avatar_url":"https://avatars.githubusercontent.com/u/4203845?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmngn","html_url":"https://github.com/alexmngn","followers_url":"https://api.github.com/users/alexmngn/followers","following_url":"https://api.github.com/users/alexmngn/following{/other_user}","gists_url":"https://api.github.com/users/alexmngn/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmngn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmngn/subscriptions","organizations_url":"https://api.github.com/users/alexmngn/orgs","repos_url":"https://api.github.com/users/alexmngn/repos","events_url":"https://api.github.com/users/alexmngn/events{/privacy}","received_events_url":"https://api.github.com/users/alexmngn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-25T17:56:49Z","updated_at":"2016-02-25T20:42:38Z","closed_at":"2016-02-25T20:42:38Z","body":"Hi,\r\nUsing `react-bootstrap`, in some cases we need to pass a DOM element as a property, in order for me to add an icon.\r\nIf I'm doing that, the `CSSModule` doesn't grab the `styleName=\"icon\"` that I passed as a property.\r\nAny suggestion how I could make this work?\r\nThanks\r\n\r\n```\r\n<NavDropdown\r\n   eventKey={2}\r\n   title={<span><span styleName=\"icon\" className=\"fa fa-search\"></span>Find</span>}\r\n   id=\"basic-nav-dropdown\"\r\n>\r\n```"}}