-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
SimpleApp.tsx
54 lines (52 loc) · 1.32 KB
/
SimpleApp.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { ApplicationView } from '@asyncapi/edavisualiser';
import '@asyncapi/edavisualiser/styles/default.css';
function App() {
return (
<div className="App">
<ApplicationView
application={
{
id: "string",
defaultContentType: "string",
description: "string",
title: "string",
version: "string",
license: {
name: 'string',
url: 'string',
},
externalDocs: "string",
servers: [
{
name: 'string',
url: 'string',
description: 'string',
protocol: 'string',
protocolVersion: 'string',
},
],
}
}
incomingOperations={[
{
channel: "Test/test/",
description: "Test description",
id: "testid",
messages: [{ title: 'test' }],
forApplication: 'string',
}
]}
outgoingOperations={[
{
channel: "Test/test/test",
description: "Test description",
id: "testid2",
messages: [{ title: 'test' }],
forApplication: 'string',
}
]}
/>
</div>
);
}
export default App;