FavoriteList
Allows you to view favorite filter presets that have been created. These filters can be applied or the presets can be deleted.
Usage
import { FavoriteList } from 'react-adminer';
<FavoriteList entityName={entityName} />
The FavoriteList
component has only 1 parameter. It is entityName
, here you specify the name of the entity for which you want to list the favorite filters. However, if you want to list all filters, regardless of the entity, you must specify an empty string.
Example all favorite filters of one entity
To see the favourite filters for the entity 'car'
use:
<FavoriteList entityName="car" />
Example all favorite filters of all entites
<FavoriteList entityName="" />
Recommendation
FavoriteList
should be implemented, for example, in the code after/before the List
component.
Last updated