Features
This release is mainly around the context menu when using selectableRows
allowing for better customization/localization.
Selectable Rows Context Menu #406
- A new prop
contextMessage
now allows you to override the default message parts. For example, for localization in SpanishcontextMessage={{ singular: 'artículo', plural: 'artículos', message: 'seleccionada' }}
results in 1 artículo seleccionada or 2 artículos seleccionada- RTL is supported if you have the
dir=rtl
attribute defined on thehtml
orbody
element.
- RTL is supported if you have the
- A new prop
noContextMenu
can now be used to hide the context menu permanently - A new prop
contextComponent
can now be used if you want to pass in your own custom component to the context menu. Should you need access to the number of items selected the custom component will have access toselectedCount
via its props. Note thatcontextMessage
andcontextActions
will be ignored when usingcontextComponent
Fixes
- #344 Pagination buttons will now be in the correct orientation when using RTL layouts