code: function(n) {
      // n is out of range, don't do anything
  		if (n > this.props.numPages || n < 1) return;
      if (this.props.onClick) this.props.onClick(n);
  		this.setState({ page: n });
  	}
docs: Triggered by any button click within the paginator.
  
  @param {number} n - Page number