@xyo-network/react-chain-transfer-plugin 1.20.15 → 1.20.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,38 +0,0 @@
1
- import type { TypographyProps } from '@mui/material'
2
- import { Typography, useTheme } from '@mui/material'
3
- import { NetworkIcon } from '@xyo-network/react-chain-network'
4
- import { MainNetworkIconString } from '@xyo-network/xl1-sdk'
5
- import React from 'react'
6
-
7
- import type { TransferCardHelper } from './TransferRenderCardHelper.tsx'
8
-
9
- export interface TransferRenderTotalTypographyProps extends TypographyProps {
10
- transferRenderHelper: TransferCardHelper
11
- }
12
-
13
- export const TransferRenderTotalTypography: React.FC<TransferRenderTotalTypographyProps> = ({
14
- transferRenderHelper, sx, ...props
15
- }) => {
16
- const theme = useTheme()
17
-
18
- return (
19
- <Typography
20
- sx={{
21
- display: 'inline-flex', gap: theme.spacing(0.25), fontFamily: 'monospace', ...sx,
22
- }}
23
- variant="caption"
24
- {...props}
25
- >
26
- Total:
27
- {' '}
28
- <strong>{transferRenderHelper?.totalTransferred()}</strong>
29
- <NetworkIcon
30
- icon={MainNetworkIconString}
31
- style={{
32
- width: 16, height: 16, display: 'inline-flex', alignItems: 'end',
33
- }}
34
- />
35
- (XL1)
36
- </Typography>
37
- )
38
- }
@@ -1 +0,0 @@
1
- export * from './TransferRenderCard.tsx'
@@ -1,3 +0,0 @@
1
- export * from './box/index.ts'
2
- export * from './card/index.ts'
3
- export * from './Plugin.ts'
@@ -1,5 +0,0 @@
1
- export type LinkableFields = 'address'
2
-
3
- export type TransferRenderOptions = {
4
- links: Set<LinkableFields>
5
- }
@@ -1 +0,0 @@
1
- export * from './TransferRenderOptions.ts'