|
@ -4,6 +4,7 @@ import Tree, { TreeNode } from 'rc-tree'; |
|
|
import { animation } from '../../../util/rc-tree-animate'; |
|
|
import { animation } from '../../../util/rc-tree-animate'; |
|
|
|
|
|
|
|
|
export const NotariesListRender = function (node, index) { |
|
|
export const NotariesListRender = function (node, index) { |
|
|
|
|
|
return ( |
|
|
<TreeNode |
|
|
<TreeNode |
|
|
title={ `Node ${index}` } |
|
|
title={ `Node ${index}` } |
|
|
key={ `node-${index}` }> |
|
|
key={ `node-${index}` }> |
|
@ -17,6 +18,7 @@ export const NotariesListRender = function (node, index) { |
|
|
key={ `node-${index}-pubkey` } |
|
|
key={ `node-${index}-pubkey` } |
|
|
title={ `Pubkey: ${node.pubkey}` } /> |
|
|
title={ `Pubkey: ${node.pubkey}` } /> |
|
|
</TreeNode> |
|
|
</TreeNode> |
|
|
|
|
|
); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
export const WalletsNotariesListRender = function () { |
|
|
export const WalletsNotariesListRender = function () { |
|
|