Remove items that are overriden in passed props.

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2023-02-01 17:37:50 -05:00
parent 8657e0f05c
commit 4365ae46e4
@@ -56,7 +56,10 @@ const useStyles = makeStyles<Theme, { height: number | undefined }>(
);
export const CatalogGraphCard = (
props: Omit<EntityRelationsGraphProps, 'rootEntityNames'> & {
props: Omit<
EntityRelationsGraphProps,
'rootEntityNames' | 'onNodeClick' | 'className'
> & {
variant?: InfoCardVariants;
height?: number;
title?: string;