onClick (Deprecated, use @click event handler instead)A function that runs when the user changes a page by clicking any of the elements of the component (Passing the new active page to the function as a parameter)Function()=>{} typeHTML Element type of the pagination component"button" | ...