import React from 'react';
import {
Card,
CardHeader,
CardBody,
Grid,
GridItem,
PageSection,
Tabs,
Tab,
TabContent,
TabContentBody,
TabTitleText,
Title,
Text,
TextContent,
TitleSizes
} from '@patternfly/react-core';
import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper';
export const NestedUnindentedTabs: React.FunctionComponent = () => {
const [activeTabKey, setActiveTabKey] = React.useState(1);
const [activeNestedTabKey, setActiveNestedTabKey] = React.useState(10);
// Toggle currently active tab
const handleTabClick = (tabIndex: number) => setActiveTabKey(tabIndex);
// Toggle currently active nested tab
const handleNestedTabClick = (tabIndex: number) => setActiveNestedTabKey(tabIndex);
const tabContent = (
Get started with Red Hat Enterprise Linux
handleNestedTabClick(Number(tabIndex))}
id="nested-tabs-example-nested-tabs-list"
>
x86 architecture} tabContentId={`tabContent${10}`} />
Additional Architectures}
tabContentId={`tabContent${11}`}
/>
To perform a standard x86_64 installation using the GUI, you'll need to:
Check system requirements
Your physical or virtual machine should meet the system requirement.
Download an installation ISO image
{' '}
Download the binary DVD ISO.
Create a bootable installation media
{' '}
Create a bootable installation media, for example a USB flash drive.
Install and register your system
Boot the installation, register your system, attach RHEL subscriptions, and install RHEL from the
Red Hat Content Delivery Network (CDN) using the GUI.
Additional architectures panel
Operators panel
Virtualization panel
);
return (
handleTabClick(Number(tabIndex))}
usePageInsets
id="nested-tabs-example-tabs-list"
>
What's new} tabContentId={`tabContent${0}`} />
Get started} tabContentId={`tabContent${1}`} />
Knowledge} tabContentId={`tabContent${2}`} />
Support} tabContentId={`tabContent${3}`} />
What's new panel
{tabContent}
Knowledge panel
Support Panel
);
};