# useEntityObject
In v1.0.0-beta.88
we have introduced the entities.json
file which is used by the useEntities
-composition.
# icon
The icon
(which is determined by useEntityIcon
.) can be determined based on the following scenarios:
- As a string
- In the
icon
-key from the object
TIP
The fa-list
-icon is used as a fallback in case none of the above is defined!
# url
The url
(which is determined by useEntityUrl
) can be determined based on the following scenarios:
- In the
url
-key from the object - Automatically based on the
entity
TIP
The entity
is used in case nothing is defined. So, for example, for customers
the url
will be /customers
.
# prefix
The prefix
(which is determined by useEntityPrefix
) can be determined based on the following scenarios:
- In the
prefix
-key from the object - Automatically based on the
entity
(in camelCase)