+ function TabPanel(props) {
+ const { children, value, index, ...other } = props;
+
+ return (
+
+ {value === index && (
+
+ {children}
+
+ )}
+
+ );
+ }
+
+ function ProfilesTabs() {
+ return (
+ <>
+
+
+
+
+
+
+
+ {SigningProfiles()}
+
+
+ {ContactProfiles()}
+
+ >
+ )
+ }
+
+ function CreateSigningProfileButton() {
+ return (
+ <>
+
+
+ >
+ )
+ }
+
+ function CreateContactProfileButton() {
+ return (
+ <>
+
+
-
-
- [
- p.getProfileName(),
- p.getAddress(),
- p.getFollowing().toString(),
- p.getSharing().toString(),
- ]
- )}
- columns={["Name", "Address", "Following", "Sharing"]}
- options={{
- filter: false,
- print: false,
- viewColumns: false,
- selectableRows: "none",
- onRowClick: rowData => {
- var address = rowData[1];
- goToSqueakAddressPage(address);
- }
- }}/>
-
-
+ >
+ )
+ }
+
+ function SigningProfiles() {
+ return (
+ <>
+