* Basic setup for react native web * Comment unsupported react-native code * Add interface for keychain methods * Fix storeNetworkData method * Use mui dialog component * Modify key store file name * Fix add network and edit network screens * Fix sign message screen * Use light theme --------- Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
18 lines
446 B
TypeScript
18 lines
446 B
TypeScript
import React from 'react';
|
|
import { View, Text } from 'react-native';
|
|
|
|
import styles from '../styles/stylesheet';
|
|
|
|
const DataBox = ({ label, data }: { label: string; data: string }) => {
|
|
return (
|
|
<View style={styles.dataBoxContainer}>
|
|
<Text style={styles.dataBoxLabel}>{label}</Text>
|
|
<View style={styles.dataBox}>
|
|
<Text style={styles.dataBoxData}>{data}</Text>
|
|
</View>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
export default DataBox;
|