From 4dbc0cf19d73826715c23d55bdc91d5d5f29ca2a Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Fri, 20 Jan 2023 23:29:54 +0100 Subject: [PATCH] add solidity-uml-gen react lib --- libs/remix-ui/solidity-uml-gen/src/index.ts | 1 + .../solidity-uml-gen/src/lib/solidity-uml-gen.tsx | 15 +++++++++++++++ tsconfig.paths.json | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 libs/remix-ui/solidity-uml-gen/src/index.ts create mode 100644 libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx diff --git a/libs/remix-ui/solidity-uml-gen/src/index.ts b/libs/remix-ui/solidity-uml-gen/src/index.ts new file mode 100644 index 0000000000..1e2d260638 --- /dev/null +++ b/libs/remix-ui/solidity-uml-gen/src/index.ts @@ -0,0 +1 @@ +export * from './lib/solidity-uml-gen' \ No newline at end of file diff --git a/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx b/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx new file mode 100644 index 0000000000..93d069126e --- /dev/null +++ b/libs/remix-ui/solidity-uml-gen/src/lib/solidity-uml-gen.tsx @@ -0,0 +1,15 @@ + +export interface RemixUiSolidityUmlGenProps { + plugin: any +} + +function RemixUiSolidityUmlGen ({ plugin }: RemixUiSolidityUmlGenProps) { + + return ( +
+

Solidity 2 UML Generator View!

+
+ ) +} + +export default RemixUiSolidityUmlGen \ No newline at end of file diff --git a/tsconfig.paths.json b/tsconfig.paths.json index cc38d2c584..e45b011400 100644 --- a/tsconfig.paths.json +++ b/tsconfig.paths.json @@ -145,6 +145,9 @@ "@remix-ui/locale-module": [ "libs/remix-ui/locale-module/src/index.ts" ], + "@remix-ui/solidity-uml-gen": [ + "libs/remix-ui/solidity-uml-gen/src/index.ts" + ], "@remix-project/ghaction-helper": [ "libs/ghaction-helper/src/index.ts" ]