5691baea69
Signed-off-by: Simon Ninon <sninon@pagerduty.com>
611 B
611 B
@backstage/plugin-techdocs
| @backstage/plugin-techdocs |
|---|
| minor |
Add ability to configure filters when using EntityListDocsGrid
The following example will render two sections of cards grid:
- One section for documentations tagged as
recommended - One section for documentations tagged as
runbook
<EntityListDocsGrid groups={{[
{
title: "Recommended Documentation",
filterPredicate: entity =>
entity?.metadata?.tags?.includes('recommended') ?? false,
},
{
title: "RunBooks Documentation",
filterPredicate: entity =>
entity?.metadata?.tags?.includes('runbook') ?? false,
}
]}} />