{"action":"opened","issue":{"url":"https://api.github.com/repos/buildo/react-components/issues/115","labels_url":"https://api.github.com/repos/buildo/react-components/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/buildo/react-components/issues/115/comments","events_url":"https://api.github.com/repos/buildo/react-components/issues/115/events","html_url":"https://github.com/buildo/react-components/issues/115","id":118826325,"number":115,"title":"[modal] add basic Modal wrapper component","user":{"login":"FrancescoCioria","id":4029499,"avatar_url":"https://avatars.githubusercontent.com/u/4029499?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoCioria","html_url":"https://github.com/FrancescoCioria","followers_url":"https://api.github.com/users/FrancescoCioria/followers","following_url":"https://api.github.com/users/FrancescoCioria/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoCioria/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoCioria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoCioria/subscriptions","organizations_url":"https://api.github.com/users/FrancescoCioria/orgs","repos_url":"https://api.github.com/users/FrancescoCioria/repos","events_url":"https://api.github.com/users/FrancescoCioria/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoCioria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"FrancescoCioria","id":4029499,"avatar_url":"https://avatars.githubusercontent.com/u/4029499?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoCioria","html_url":"https://github.com/FrancescoCioria","followers_url":"https://api.github.com/users/FrancescoCioria/followers","following_url":"https://api.github.com/users/FrancescoCioria/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoCioria/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoCioria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoCioria/subscriptions","organizations_url":"https://api.github.com/users/FrancescoCioria/orgs","repos_url":"https://api.github.com/users/FrancescoCioria/repos","events_url":"https://api.github.com/users/FrancescoCioria/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoCioria/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-25T12:27:39Z","updated_at":"2015-11-25T12:27:39Z","closed_at":null,"body":"## requirements\r\nto be used with `ModalManager`. should speed up development (or simply help as example) but at the same time be very basic so not to require modifications. It's a low-level component: in theory every modal should be able to use it out of the box.\r\n\r\n## specs\r\n- wrap content with `BackgroundDimmer`\r\n- wrap `children` in a `div` with `className='content'`\r\n- should accept optional `onDismiss` function -> if it exists:\r\n  - render icon close in top right corner\r\n  - close on click outside"}}