Namespace

SelectItemsPerPage

SelectItemsPerPage

Members

# static constant classNames

An object containing the classnames generated from the stylesheet made with emotion and using the style state of the store

View Source components/SelectItemsPerPage/SelectItemsPerPage.tsx, line 36

Methods

# static exports.SelectItemsPerPage() → {React.ReactElement}

The SelectItemsPerPage component, contain a select dropbox to choose the number of items to display in each page. Selecting a new value will change the selected page in order to kept the first item of the previous display on the new page.

View Source components/SelectItemsPerPage/SelectItemsPerPage.tsx, line 16

jsx to be injected in the html.
React.ReactElement

# static handleChange(event)

Prevent the default behavior on change. Dispatch the new value for the items per page.
Parameters:
Name Type Description
event React.ChangeEvent.<HTMLSelectElement> the event object.

View Source components/SelectItemsPerPage/SelectItemsPerPage.tsx, line 25