it's possible to customize the title of the card to differentiate from the DependencyOf Card
Signed-off-by: Carlo Colombo <carlo.colombo@klarna.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
b5115777bf
commit
5c67a9e5e7
@@ -25,13 +25,17 @@ import {
|
||||
|
||||
type Props = {
|
||||
variant?: 'gridItem';
|
||||
title?: string;
|
||||
};
|
||||
|
||||
export const DependsOnComponentsCard = ({ variant = 'gridItem' }: Props) => {
|
||||
export const DependsOnComponentsCard = ({
|
||||
variant = 'gridItem',
|
||||
title = 'Components',
|
||||
}: Props) => {
|
||||
return (
|
||||
<RelatedEntitiesCard
|
||||
variant={variant}
|
||||
title="Components"
|
||||
title={title}
|
||||
entityKind="Component"
|
||||
relationType={RELATION_DEPENDS_ON}
|
||||
columns={componentEntityColumns}
|
||||
|
||||
Reference in New Issue
Block a user