From 49700c3bc5195b448c2bec824b9b87ac1d898802 Mon Sep 17 00:00:00 2001 From: agricreations Date: Mon, 18 Mar 2024 22:35:34 +0530 Subject: [PATCH] added dynamic links to cards --- ui/src/components/ComponentsCard.jsx | 13 ++++++++++--- ui/src/index.css | 3 +++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ui/src/components/ComponentsCard.jsx b/ui/src/components/ComponentsCard.jsx index 2f8dbd4..09eb78e 100644 --- a/ui/src/components/ComponentsCard.jsx +++ b/ui/src/components/ComponentsCard.jsx @@ -5,6 +5,7 @@ import { addComponents } from '../actions/components.actions'; import { SvgIcons } from "./Button"; import OutputsOfComponents from './OutputsOfComponents'; import SeachBar from './Search'; +import { Link } from 'react-router-dom'; const ComponentsCard = ({ catogreise, componentType, onlyCard = false }) => { @@ -74,7 +75,9 @@ const ComponentsCard = ({ catogreise, componentType, onlyCard = false }) => {
-
Edit code
+ +
Edit code
+
{
-
Edit code
+ +
Edit code
+
{
-
Edit code
+ +
Edit code
+