aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/views/common')
-rw-r--r--FrontEnd/src/views/common/Card.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/FrontEnd/src/views/common/Card.tsx b/FrontEnd/src/views/common/Card.tsx
index da2a1b68..7e2eb575 100644
--- a/FrontEnd/src/views/common/Card.tsx
+++ b/FrontEnd/src/views/common/Card.tsx
@@ -7,11 +7,16 @@ function _Card(
{
className,
children,
+ ...otherProps
}: React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>,
ref: React.ForwardedRef<HTMLDivElement>
): React.ReactElement | null {
return (
- <div ref={ref} className={classNames("cru-card", className)}>
+ <div
+ ref={ref}
+ className={classNames("cru-card", className)}
+ {...otherProps}
+ >
{children}
</div>
);