Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(euler): add presentation config (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwele authored Jun 29, 2022
1 parent fbe966f commit 321c2f1
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions src/apps/euler/euler.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ export const EULER_DEFINITION = appDefinition({
eToken: {
id: 'e-token',
type: GroupType.TOKEN,
label: 'E Token',
label: 'Lending',
groupLabel: 'E Token',
},

dToken: {
id: 'd-token',
type: GroupType.TOKEN,
label: 'D Token',
label: 'Lending',
groupLabel: 'D Token',
},

pToken: {
Expand All @@ -29,7 +31,27 @@ export const EULER_DEFINITION = appDefinition({
label: 'P Token',
},
},

presentationConfig: {
tabs: [
{
label: 'Lending',
viewType: 'split',
views: [
{
viewType: 'list',
label: 'E Token',
groupIds: ['e-token'],
},
{
viewType: 'list',
label: 'D Token',
groupIds: ['d-token'],
},
],
},
{ label: 'P Token', viewType: 'list', groupIds: ['p-token'] },
],
},
tags: [AppTag.LENDING],
keywords: [],
links: {
Expand Down

0 comments on commit 321c2f1

Please sign in to comment.