Added onClick hook, Added transferProp, Fixed code style
onSelect is used to hook into onClick on the anchors, similar to `NavItem`, works on the root element `Pager` aswell.