Renders a pagination component.

Parameters:
NameTypeDescription
propsobject

Component props.

Properties
NameTypeDescription
customAttributesobject

Custom attributes for the component

customClassesstring | Array | object

Custom classes for the component.

paginationPropsobject

Props for the pagination component.

spacingstring | number | Array | object

The spacing for the component, as a string, number, array, or object.

refobject | null

Ref to the component.

Since
  • 3.3.0
Returns:

The pagination component.

Type: 
JSX.Element
Example
import Pagination from '@gravityforms/components/react/admin/modules/Pagination';

return <Pagination />;