{"action":"created","issue":{"url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/3","repository_url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip","labels_url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/3/comments","events_url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/3/events","html_url":"https://github.com/mohsinulhaq/react-popper-tooltip/pull/3","id":351464748,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MDUxMDA2","number":3,"title":"Update README, clean up","user":{"login":"denisborovikov","id":831065,"node_id":"MDQ6VXNlcjgzMTA2NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/831065?v=4","gravatar_id":"","url":"https://api.github.com/users/denisborovikov","html_url":"https://github.com/denisborovikov","followers_url":"https://api.github.com/users/denisborovikov/followers","following_url":"https://api.github.com/users/denisborovikov/following{/other_user}","gists_url":"https://api.github.com/users/denisborovikov/gists{/gist_id}","starred_url":"https://api.github.com/users/denisborovikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisborovikov/subscriptions","organizations_url":"https://api.github.com/users/denisborovikov/orgs","repos_url":"https://api.github.com/users/denisborovikov/repos","events_url":"https://api.github.com/users/denisborovikov/events{/privacy}","received_events_url":"https://api.github.com/users/denisborovikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T05:48:36Z","updated_at":"2018-08-17T09:55:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/pulls/3","html_url":"https://github.com/mohsinulhaq/react-popper-tooltip/pull/3","diff_url":"https://github.com/mohsinulhaq/react-popper-tooltip/pull/3.diff","patch_url":"https://github.com/mohsinulhaq/react-popper-tooltip/pull/3.patch"},"body":"I've updated the readme according to the latest API changes.\r\n\r\nPlease, check it. I don't get the part\r\n\r\n```\r\nYou also have the ability to attach ref to the `TooltipTrigger` component which exposes following methods for programmatic control of the tooltip:\r\n```\r\n\r\nso I keep it as it is. Please, review and update it if needed.\r\n\r\nAlso, the example part should be accordingly updated.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/comments/413817368","html_url":"https://github.com/mohsinulhaq/react-popper-tooltip/pull/3#issuecomment-413817368","issue_url":"https://api.github.com/repos/mohsinulhaq/react-popper-tooltip/issues/3","id":413817368,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzgxNzM2OA==","user":{"login":"mohsinulhaq","id":7688231,"node_id":"MDQ6VXNlcjc2ODgyMzE=","avatar_url":"https://avatars1.githubusercontent.com/u/7688231?v=4","gravatar_id":"","url":"https://api.github.com/users/mohsinulhaq","html_url":"https://github.com/mohsinulhaq","followers_url":"https://api.github.com/users/mohsinulhaq/followers","following_url":"https://api.github.com/users/mohsinulhaq/following{/other_user}","gists_url":"https://api.github.com/users/mohsinulhaq/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsinulhaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsinulhaq/subscriptions","organizations_url":"https://api.github.com/users/mohsinulhaq/orgs","repos_url":"https://api.github.com/users/mohsinulhaq/repos","events_url":"https://api.github.com/users/mohsinulhaq/events{/privacy}","received_events_url":"https://api.github.com/users/mohsinulhaq/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T09:55:06Z","updated_at":"2018-08-17T09:55:06Z","author_association":"OWNER","body":"`You also have the ability to attach ref to the `TooltipTrigger` component which exposes following methods for programmatic control of the tooltip:`\r\n\r\nBy this I meant that you can do the following:\r\n```\r\nconst tooltipRef = React.createRef();\r\n\r\n<TooltipTrigger\r\n    ref={tooltipRef}\r\n    tooltip={...}\r\n>\r\n    {...}\r\n</TooltipTrigger>\r\n```\r\nNow you can use `tooltipRef.current` to show or hide the tooltip whenever you want, by calling `tooltip.current.show` and `tooltip.current.hide`."}}
{"actor":{"display_login":"mohsinulhaq"}}