diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index f29c4e95..8a327456 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -1,4 +1,5 @@ import React from "react"; +import { twMerge } from "tailwind-merge"; /** * @param label button text @@ -10,12 +11,14 @@ const Button = ({widthFull, onClick, disabled, label}: ButtonInputProps) => { return ( //TODO: colours ); }; diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index 1b3c7dcd..ecd3ff16 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -4,10 +4,11 @@ import { PropsWithChildren } from "react"; import CardProps from "./CardProps"; +import { twMerge } from "tailwind-merge"; const Card = ({onClick, className, children} : PropsWithChildren) => { return ( -
+
{children}
);