/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import React from 'react';
import {
Tabs,
SpaceBetween,
ColumnLayout,
Container,
Box,
Header
} from '@awsui/components-react';
import Audit from "../components/ui_attributes/Audit.jsx";
import AllViewerAttributes from '../components/ui_attributes/AllViewerAttributes.jsx'
const ValueWithLabel = ({ label, children }) => (
);
const PermissionsView = (props) => {
function handleOnTabChange(activeTabId) {
if (props.handleTabChange) {
props.handleTabChange(activeTabId);
}
}
function selectedTab() {
if (props.selectedTab) {
return props.selectedTab;
}
else {
return null;
}
}
return handleOnTabChange(detail.activeTabId)}
tabs={props.itemType === 'roles' ?
[
{
label: "Details",
id: "details",
content: Details}>
//
//
//
//
//
}
]
:
[
{
label: "Details",
id: "details",
content: Details}>
//
//
//
//
//
}
]
}
// variant="container"
/>;
};
export default PermissionsView;