Backstage
Docs
GitHub
Preparing search index...
@backstage/frontend-test-utils
mockApis
icons
Function icons
icons
(
options
?:
{
icons
?:
Record
<
string
,
IconElement
>
}
,
)
:
MockWithApiFactory
<
IconsApi
>
Creates an icon lookup backed by the supplied elements, empty by default.
Parameters
Optional
options
:
{
icons
?:
Record
<
string
,
IconElement
>
}
Returns
MockWithApiFactory
<
IconsApi
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
GitHub
Backstage
Loading...
Creates an icon lookup backed by the supplied elements, empty by default.