Card, add getColor method
@@ -3,3 +3,9 @@ export const getBackgroundColor = (hover: boolean) => {
hover ? (result = 'white') : (result = 'blue');
return result;
};
+
+export const getColor = (hover: boolean) => {
+ let result;
+ hover ? (result = 'white') : (result = 'white');
+ return result;
+};
