mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-02 02:58:10 +02:00
Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c
git-subtree-dir: ai-context/workbench-ui git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
This commit is contained in:
commit
a8390532f7
310 changed files with 56430 additions and 0 deletions
15
src/components/entity/SelectedNode.tsx
Normal file
15
src/components/entity/SelectedNode.tsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import React from "react";
|
||||
|
||||
import { Tag } from "@chakra-ui/react";
|
||||
|
||||
import { Value } from "@trustgraph/react-state";
|
||||
|
||||
const SelectedNode: React.FC<{ value: Value }> = ({ value }) => {
|
||||
return (
|
||||
<Tag.Root variant="surface" color="gray.50" backgroundColor="gray.600">
|
||||
<Tag.Label>{value.label}</Tag.Label>
|
||||
</Tag.Root>
|
||||
);
|
||||
};
|
||||
|
||||
export default SelectedNode;
|
||||
Loading…
Add table
Add a link
Reference in a new issue