diff --git a/front/src/common/components/card.component.tsx b/front/src/common/components/card.component.tsx index 1bb2a11..cfa9b5c 100644 --- a/front/src/common/components/card.component.tsx +++ b/front/src/common/components/card.component.tsx @@ -2,12 +2,19 @@ import React from "react"; interface Props { children?: React.ReactNode; + className?: string; } export const Card: React.FC = (props: Props) => { - const { children } = props; + const { children, className } = props; return ( -
+
{children}
); diff --git a/front/src/pods/embalse-provincia-list/embalse-provincia-list.component.tsx b/front/src/pods/embalse-provincia-list/embalse-provincia-list.component.tsx index e9b58fc..5b72fa0 100644 --- a/front/src/pods/embalse-provincia-list/embalse-provincia-list.component.tsx +++ b/front/src/pods/embalse-provincia-list/embalse-provincia-list.component.tsx @@ -5,18 +5,20 @@ import Link from "next/link"; export const EmbalseProvinciaList: React.FC = () => { return ( - -

Embalses por provincias

-
- {PROVINCIAS.map(({ id, name }) => ( - - {name} - - ))} + +
+

Embalses por provincias

+
+ {PROVINCIAS.map(({ id, name }) => ( + + {name} + + ))} +
);