always tabs; always blue (#141)

This commit is contained in:
Michael Quigley 2023-01-03 14:23:58 -05:00
parent 5d27c608a3
commit 67dabbf73a
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 12 additions and 2 deletions

View File

@ -1,12 +1,17 @@
import {mdiCardAccountDetails} from "@mdi/js";
import Icon from "@mdi/react";
import PropertyTable from "../PropertyTable";
import {Tab, Tabs} from "react-bootstrap";
const AccountDetail = (props) => {
return (
<div>
<h2><Icon path={mdiCardAccountDetails} size={2} />{" "}{props.user.email}</h2>
<PropertyTable object={props.user} />
<Tabs defaultActiveKey={"detail"}>
<Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={props.user} />
</Tab>
</Tabs>
</div>
);
}

View File

@ -4,6 +4,7 @@ import {useEffect, useState} from "react";
import {mdiShareVariant} from "@mdi/js";
import Icon from "@mdi/react";
import PropertyTable from "../PropertyTable";
import {Tab, Tabs} from "react-bootstrap";
const ShareDetail = (props) => {
const [detail, setDetail] = useState({});
@ -40,7 +41,11 @@ const ShareDetail = (props) => {
return (
<div>
<h2><Icon path={mdiShareVariant} size={2} />{" "}{detail.backendProxyEndpoint}</h2>
<PropertyTable object={detail} custom={customProperties} />
<Tabs defaultActiveKey={"detail"}>
<Tab eventKey={"detail"} title={"Detail"}>
<PropertyTable object={detail} custom={customProperties} />
</Tab>
</Tabs>
</div>
);
}