+ {show ? (
+
+ {loading && }
+
+ setLoading(false)}
+ showViewFinder={false}
+ onError={onError}
+ onScan={onScan}
+ style={{ width: '100%' }}
+ />
+
+
+ ) : (
+
+
+
+
+ )}
+
+ )
+}
diff --git a/wallets/react-wallet-v2-chat/src/components/RequestDataCard.tsx b/wallets/react-wallet-v2-chat/src/components/RequestDataCard.tsx
new file mode 100644
index 0000000..28cff88
--- /dev/null
+++ b/wallets/react-wallet-v2-chat/src/components/RequestDataCard.tsx
@@ -0,0 +1,28 @@
+import { Col, Row, Text } from '@nextui-org/react'
+import { CodeBlock, codepen } from 'react-code-blocks'
+
+/**
+ * Types
+ */
+interface IProps {
+ data: Record