Skip to content

Pagination 'NextPage' icon using 'LastPage' icon. #729

Closed
@jkaffrey

Description

@jkaffrey

Describe the bug
When using pagination on the table component, the 'NextPage' icon is using the 'LastPage' icon. Additionally, trying to override the 'NextPage' icon using the 'icons' prop on the component ignores the passed in value.

This behavior can also be noticed on the example table at the bottom of the page at: https://material-table-core.com/
Screen Shot 2023-01-23 at 10 21 27 AM

To Reproduce
Steps to reproduce the behavior:

  1. Implement the library and enable pagination.
  2. Under the 'options' prop set: paginationType: 'stepped'
  3. Observe the icon is incorrect.

Expected behavior

  • The correct icon is used for the 'NextPage' icon.
  • Overriding the 'NextPage' icon displays the passed in component value.

Desktop (please complete the following information):

  • OS: iOS
  • Browser: Chrome
  • Version: 6.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions