{"action":"created","comment":{"url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/comments/74387880","id":74387880,"diff_hunk":"@@ -14,12 +17,20 @@ const customClassNames = {\n   'rq-Quiz-nextButton': 'btn btn-primary pull-right'\n }\n \n+// You can override text in a similar way, e.g. if you want to translate the\n+// component to different languages.\n+const customText = {\n+  // 'rq-Quiz-progressText': 'Question {n} of {total}',","path":"demo/App.js","position":17,"original_position":17,"commit_id":"b9ea54e1c8b2336e806f4fc0b9c716fc45cb19e1","original_commit_id":"b9ea54e1c8b2336e806f4fc0b9c716fc45cb19e1","user":{"login":"robinedman","id":1936213,"avatar_url":"https://avatars.githubusercontent.com/u/1936213?v=3","gravatar_id":"","url":"https://api.github.com/users/robinedman","html_url":"https://github.com/robinedman","followers_url":"https://api.github.com/users/robinedman/followers","following_url":"https://api.github.com/users/robinedman/following{/other_user}","gists_url":"https://api.github.com/users/robinedman/gists{/gist_id}","starred_url":"https://api.github.com/users/robinedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinedman/subscriptions","organizations_url":"https://api.github.com/users/robinedman/orgs","repos_url":"https://api.github.com/users/robinedman/repos","events_url":"https://api.github.com/users/robinedman/events{/privacy}","received_events_url":"https://api.github.com/users/robinedman/received_events","type":"User","site_admin":false},"body":"All of the comments in this file were intended as documentation to show how you can integrate React Quiz into a React project and customise it. But we can definitely change things if it'll make it clearer.","created_at":"2016-08-11T08:57:00Z","updated_at":"2016-08-11T08:57:00Z","html_url":"https://github.com/britishcouncil/react-quiz/pull/9#discussion_r74387880","pull_request_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/comments/74387880"},"html":{"href":"https://github.com/britishcouncil/react-quiz/pull/9#discussion_r74387880"},"pull_request":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9","id":80645697,"html_url":"https://github.com/britishcouncil/react-quiz/pull/9","diff_url":"https://github.com/britishcouncil/react-quiz/pull/9.diff","patch_url":"https://github.com/britishcouncil/react-quiz/pull/9.patch","issue_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/9","number":9,"state":"open","locked":false,"title":"Ability to customise text","user":{"login":"robinedman","id":1936213,"avatar_url":"https://avatars.githubusercontent.com/u/1936213?v=3","gravatar_id":"","url":"https://api.github.com/users/robinedman","html_url":"https://github.com/robinedman","followers_url":"https://api.github.com/users/robinedman/followers","following_url":"https://api.github.com/users/robinedman/following{/other_user}","gists_url":"https://api.github.com/users/robinedman/gists{/gist_id}","starred_url":"https://api.github.com/users/robinedman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinedman/subscriptions","organizations_url":"https://api.github.com/users/robinedman/orgs","repos_url":"https://api.github.com/users/robinedman/repos","events_url":"https://api.github.com/users/robinedman/events{/privacy}","received_events_url":"https://api.github.com/users/robinedman/received_events","type":"User","site_admin":false},"body":"Makes it possible to customise text in a similar way to how you can customise styling by selecting on classname.\r\n\r\nSee individual commits for details.\r\n\r\nThe primary use case is for providing translations (see https://github.com/britishcouncil/tiger-quiz/pull/6)\r\n\r\n**This PR represents a `major` version bump since it removes the _progressText_ prop.**\r\n","created_at":"2016-08-09T15:50:33Z","updated_at":"2016-08-11T08:57:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bbed76be2ae2ad26b3d07fab092d148b01055152","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9/commits","review_comments_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9/comments","review_comment_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/9/comments","statuses_url":"https://api.github.com/repos/britishcouncil/react-quiz/statuses/b9ea54e1c8b2336e806f4fc0b9c716fc45cb19e1","head":{"label":"britishcouncil:custom-text","ref":"custom-text","sha":"b9ea54e1c8b2336e806f4fc0b9c716fc45cb19e1","user":{"login":"britishcouncil","id":1190151,"avatar_url":"https://avatars.githubusercontent.com/u/1190151?v=3","gravatar_id":"","url":"https://api.github.com/users/britishcouncil","html_url":"https://github.com/britishcouncil","followers_url":"https://api.github.com/users/britishcouncil/followers","following_url":"https://api.github.com/users/britishcouncil/following{/other_user}","gists_url":"https://api.github.com/users/britishcouncil/gists{/gist_id}","starred_url":"https://api.github.com/users/britishcouncil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britishcouncil/subscriptions","organizations_url":"https://api.github.com/users/britishcouncil/orgs","repos_url":"https://api.github.com/users/britishcouncil/repos","events_url":"https://api.github.com/users/britishcouncil/events{/privacy}","received_events_url":"https://api.github.com/users/britishcouncil/received_events","type":"Organization","site_admin":false},"repo":{"id":59561352,"name":"react-quiz","full_name":"britishcouncil/react-quiz","owner":{"login":"britishcouncil","id":1190151,"avatar_url":"https://avatars.githubusercontent.com/u/1190151?v=3","gravatar_id":"","url":"https://api.github.com/users/britishcouncil","html_url":"https://github.com/britishcouncil","followers_url":"https://api.github.com/users/britishcouncil/followers","following_url":"https://api.github.com/users/britishcouncil/following{/other_user}","gists_url":"https://api.github.com/users/britishcouncil/gists{/gist_id}","starred_url":"https://api.github.com/users/britishcouncil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britishcouncil/subscriptions","organizations_url":"https://api.github.com/users/britishcouncil/orgs","repos_url":"https://api.github.com/users/britishcouncil/repos","events_url":"https://api.github.com/users/britishcouncil/events{/privacy}","received_events_url":"https://api.github.com/users/britishcouncil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/britishcouncil/react-quiz","description":"Quiz component for React.","fork":false,"url":"https://api.github.com/repos/britishcouncil/react-quiz","forks_url":"https://api.github.com/repos/britishcouncil/react-quiz/forks","keys_url":"https://api.github.com/repos/britishcouncil/react-quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/britishcouncil/react-quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/britishcouncil/react-quiz/teams","hooks_url":"https://api.github.com/repos/britishcouncil/react-quiz/hooks","issue_events_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/events{/number}","events_url":"https://api.github.com/repos/britishcouncil/react-quiz/events","assignees_url":"https://api.github.com/repos/britishcouncil/react-quiz/assignees{/user}","branches_url":"https://api.github.com/repos/britishcouncil/react-quiz/branches{/branch}","tags_url":"https://api.github.com/repos/britishcouncil/react-quiz/tags","blobs_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/britishcouncil/react-quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/britishcouncil/react-quiz/languages","stargazers_url":"https://api.github.com/repos/britishcouncil/react-quiz/stargazers","contributors_url":"https://api.github.com/repos/britishcouncil/react-quiz/contributors","subscribers_url":"https://api.github.com/repos/britishcouncil/react-quiz/subscribers","subscription_url":"https://api.github.com/repos/britishcouncil/react-quiz/subscription","commits_url":"https://api.github.com/repos/britishcouncil/react-quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/britishcouncil/react-quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/britishcouncil/react-quiz/contents/{+path}","compare_url":"https://api.github.com/repos/britishcouncil/react-quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/britishcouncil/react-quiz/merges","archive_url":"https://api.github.com/repos/britishcouncil/react-quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/britishcouncil/react-quiz/downloads","issues_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues{/number}","pulls_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/britishcouncil/react-quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/britishcouncil/react-quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/britishcouncil/react-quiz/labels{/name}","releases_url":"https://api.github.com/repos/britishcouncil/react-quiz/releases{/id}","deployments_url":"https://api.github.com/repos/britishcouncil/react-quiz/deployments","created_at":"2016-05-24T09:53:02Z","updated_at":"2016-07-11T04:32:48Z","pushed_at":"2016-08-10T09:51:49Z","git_url":"git://github.com/britishcouncil/react-quiz.git","ssh_url":"git@github.com:britishcouncil/react-quiz.git","clone_url":"https://github.com/britishcouncil/react-quiz.git","svn_url":"https://github.com/britishcouncil/react-quiz","homepage":null,"size":66,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"britishcouncil:master","ref":"master","sha":"1c668db66fb5f70a69b7fab36bffbf36d6f87cbe","user":{"login":"britishcouncil","id":1190151,"avatar_url":"https://avatars.githubusercontent.com/u/1190151?v=3","gravatar_id":"","url":"https://api.github.com/users/britishcouncil","html_url":"https://github.com/britishcouncil","followers_url":"https://api.github.com/users/britishcouncil/followers","following_url":"https://api.github.com/users/britishcouncil/following{/other_user}","gists_url":"https://api.github.com/users/britishcouncil/gists{/gist_id}","starred_url":"https://api.github.com/users/britishcouncil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britishcouncil/subscriptions","organizations_url":"https://api.github.com/users/britishcouncil/orgs","repos_url":"https://api.github.com/users/britishcouncil/repos","events_url":"https://api.github.com/users/britishcouncil/events{/privacy}","received_events_url":"https://api.github.com/users/britishcouncil/received_events","type":"Organization","site_admin":false},"repo":{"id":59561352,"name":"react-quiz","full_name":"britishcouncil/react-quiz","owner":{"login":"britishcouncil","id":1190151,"avatar_url":"https://avatars.githubusercontent.com/u/1190151?v=3","gravatar_id":"","url":"https://api.github.com/users/britishcouncil","html_url":"https://github.com/britishcouncil","followers_url":"https://api.github.com/users/britishcouncil/followers","following_url":"https://api.github.com/users/britishcouncil/following{/other_user}","gists_url":"https://api.github.com/users/britishcouncil/gists{/gist_id}","starred_url":"https://api.github.com/users/britishcouncil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britishcouncil/subscriptions","organizations_url":"https://api.github.com/users/britishcouncil/orgs","repos_url":"https://api.github.com/users/britishcouncil/repos","events_url":"https://api.github.com/users/britishcouncil/events{/privacy}","received_events_url":"https://api.github.com/users/britishcouncil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/britishcouncil/react-quiz","description":"Quiz component for React.","fork":false,"url":"https://api.github.com/repos/britishcouncil/react-quiz","forks_url":"https://api.github.com/repos/britishcouncil/react-quiz/forks","keys_url":"https://api.github.com/repos/britishcouncil/react-quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/britishcouncil/react-quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/britishcouncil/react-quiz/teams","hooks_url":"https://api.github.com/repos/britishcouncil/react-quiz/hooks","issue_events_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/events{/number}","events_url":"https://api.github.com/repos/britishcouncil/react-quiz/events","assignees_url":"https://api.github.com/repos/britishcouncil/react-quiz/assignees{/user}","branches_url":"https://api.github.com/repos/britishcouncil/react-quiz/branches{/branch}","tags_url":"https://api.github.com/repos/britishcouncil/react-quiz/tags","blobs_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/britishcouncil/react-quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/britishcouncil/react-quiz/languages","stargazers_url":"https://api.github.com/repos/britishcouncil/react-quiz/stargazers","contributors_url":"https://api.github.com/repos/britishcouncil/react-quiz/contributors","subscribers_url":"https://api.github.com/repos/britishcouncil/react-quiz/subscribers","subscription_url":"https://api.github.com/repos/britishcouncil/react-quiz/subscription","commits_url":"https://api.github.com/repos/britishcouncil/react-quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/britishcouncil/react-quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/britishcouncil/react-quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/britishcouncil/react-quiz/contents/{+path}","compare_url":"https://api.github.com/repos/britishcouncil/react-quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/britishcouncil/react-quiz/merges","archive_url":"https://api.github.com/repos/britishcouncil/react-quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/britishcouncil/react-quiz/downloads","issues_url":"https://api.github.com/repos/britishcouncil/react-quiz/issues{/number}","pulls_url":"https://api.github.com/repos/britishcouncil/react-quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/britishcouncil/react-quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/britishcouncil/react-quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/britishcouncil/react-quiz/labels{/name}","releases_url":"https://api.github.com/repos/britishcouncil/react-quiz/releases{/id}","deployments_url":"https://api.github.com/repos/britishcouncil/react-quiz/deployments","created_at":"2016-05-24T09:53:02Z","updated_at":"2016-07-11T04:32:48Z","pushed_at":"2016-08-10T09:51:49Z","git_url":"git://github.com/britishcouncil/react-quiz.git","ssh_url":"git@github.com:britishcouncil/react-quiz.git","clone_url":"https://github.com/britishcouncil/react-quiz.git","svn_url":"https://github.com/britishcouncil/react-quiz","homepage":null,"size":66,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9"},"html":{"href":"https://github.com/britishcouncil/react-quiz/pull/9"},"issue":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/issues/9"},"comments":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/britishcouncil/react-quiz/statuses/b9ea54e1c8b2336e806f4fc0b9c716fc45cb19e1"}}}}
{"actor":{"display_login":"robinedman"}}