{"action":"closed","issue":{"url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/762","repository_url":"https://api.github.com/repos/styleguidist/react-styleguidist","labels_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/762/comments","events_url":"https://api.github.com/repos/styleguidist/react-styleguidist/issues/762/events","html_url":"https://github.com/styleguidist/react-styleguidist/issues/762","id":285188914,"number":762,"title":"support on-the-fly css classes","user":{"login":"bochen2014","id":8207081,"avatar_url":"https://avatars3.githubusercontent.com/u/8207081?v=4","gravatar_id":"","url":"https://api.github.com/users/bochen2014","html_url":"https://github.com/bochen2014","followers_url":"https://api.github.com/users/bochen2014/followers","following_url":"https://api.github.com/users/bochen2014/following{/other_user}","gists_url":"https://api.github.com/users/bochen2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bochen2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bochen2014/subscriptions","organizations_url":"https://api.github.com/users/bochen2014/orgs","repos_url":"https://api.github.com/users/bochen2014/repos","events_url":"https://api.github.com/users/bochen2014/events{/privacy}","received_events_url":"https://api.github.com/users/bochen2014/received_events","type":"User","site_admin":false},"labels":[{"id":257203244,"url":"https://api.github.com/repos/styleguidist/react-styleguidist/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-30T07:19:55Z","updated_at":"2017-12-30T14:13:21Z","closed_at":"2017-12-30T14:13:21Z","author_association":"NONE","body":"I have a component that takes in `className` as `props`. I want to be able to define a css classname within the markdown\r\n```jsx\r\n// this is inside my MyComponents.md\r\n<style>\r\n  .myClass{\r\n    width: 400px; \r\n}\r\n</style>\r\n\r\n<MyComponent className=\"myClass\" />\r\n```\r\nIs it even possible? \r\n\r\nNote: there are 2 walk arounds\r\n1. use `styles`\r\n2. define a css file in a file and do a `require` inside the markdown\r\n"}}
{"actor":{"display_login":"bochen2014"}}