import React from 'react';
import {
Card,
CardHeader,
CardBody,
Grid,
GridItem,
PageSection,
Tabs,
Tab,
TabContent,
TabContentBody,
TabTitleText,
Title,
Text,
TextContent,
TitleSizes,
CardTitle
} from '@breakaway/preact-core';
import DashboardWrapper from '@breakaway/preact-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.
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
);
};