import React from 'react'; import { PageSection, Tabs, Tab, TabContent, TabContentBody, TabTitleText, Title, Grid, GridItem, Flex, FlexItem, Card, CardBody, CardHeader } from '@patternfly/react-core'; import DashboardWrapper from '@patternfly/react-core/src/demos/examples/DashboardWrapper'; export const GrayTabsDemo: React.FunctionComponent = () => { const [activeTabKey, setActiveTabKey] = React.useState(0); const [activeNestedTabKey, setActiveNestedTabKey] = React.useState(0); // Toggle currently active tab const handleTabClick = (_: React.MouseEvent, tabIndex: string | number) => setActiveTabKey(tabIndex); // Toggle currently active nested tab const handleNestedTabClick = (_: React.MouseEvent, tabIndex: string | number) => setActiveNestedTabKey(tabIndex); const tabContent = ( Status Cluster} tabContentId={`tabContent${10}`} /> Control plane} tabContentId={`tabContent${11}`} /> Operators} tabContentId={`tabContent${12}`} /> Virtualization} tabContentId={`tabContent${13}`} /> Title of Card Title of Card ); return ( Cluster 1} tabContentId={`tabContent${0}`} /> Cluster 2} tabContentId={`tabContent${1}`} /> ); };