{"action":"created","issue":{"url":"https://api.github.com/repos/bebraw/react-pagify/issues/13","labels_url":"https://api.github.com/repos/bebraw/react-pagify/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/bebraw/react-pagify/issues/13/comments","events_url":"https://api.github.com/repos/bebraw/react-pagify/issues/13/events","html_url":"https://github.com/bebraw/react-pagify/pull/13","id":120907804,"number":13,"title":"Allow the active class name to be set through the props.","user":{"login":"nemothekid","id":940094,"avatar_url":"https://avatars.githubusercontent.com/u/940094?v=3","gravatar_id":"","url":"https://api.github.com/users/nemothekid","html_url":"https://github.com/nemothekid","followers_url":"https://api.github.com/users/nemothekid/followers","following_url":"https://api.github.com/users/nemothekid/following{/other_user}","gists_url":"https://api.github.com/users/nemothekid/gists{/gist_id}","starred_url":"https://api.github.com/users/nemothekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemothekid/subscriptions","organizations_url":"https://api.github.com/users/nemothekid/orgs","repos_url":"https://api.github.com/users/nemothekid/repos","events_url":"https://api.github.com/users/nemothekid/events{/privacy}","received_events_url":"https://api.github.com/users/nemothekid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T01:20:14Z","updated_at":"2015-12-08T18:03:36Z","closed_at":"2015-12-08T17:59:50Z","pull_request":{"url":"https://api.github.com/repos/bebraw/react-pagify/pulls/13","html_url":"https://github.com/bebraw/react-pagify/pull/13","diff_url":"https://github.com/bebraw/react-pagify/pull/13.diff","patch_url":"https://github.com/bebraw/react-pagify/pull/13.patch"},"body":"The [bootstrap pagination](http://getbootstrap.com/components/#pagination) class uses `active` to highlight the current page rather than `selected`. This PR allows the active class name to be set through the props using `activeClassName`, like `inactiveClassName`.\r\n\r\nAnother change that was made is the class name each `li` was set using `num === page && 'selected'`. This had the side effect of setting the class name to `'false'` on every element that wasn't the current page. This change also makes the class name an empty string rather than `'false'`."},"comment":{"url":"https://api.github.com/repos/bebraw/react-pagify/issues/comments/162963955","html_url":"https://github.com/bebraw/react-pagify/pull/13#issuecomment-162963955","issue_url":"https://api.github.com/repos/bebraw/react-pagify/issues/13","id":162963955,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T18:03:36Z","updated_at":"2015-12-08T18:03:36Z","body":"Thanks a lot! I published `0.10.1` with the feature in it.\r\n\r\nI could use your feedback on #12. I feel doing some restructuring could improve the API considerably."}}