1- import { DxcParagraph , DxcFlex , DxcLink } from "@dxc-technology/halstack-react" ;
1+ import { DxcParagraph , DxcFlex } from "@dxc-technology/halstack-react" ;
22import PageHeading from "@/common/PageHeading" ;
33import TabsPageHeading from "@/common/TabsPageLayout" ;
44import ComponentHeading from "@/common/ComponentHeading" ;
55import { ReactNode } from "react" ;
66
77const FlexPageHeading = ( { children } : { children : ReactNode } ) => {
88 const tabs = [
9- { label : "Code" , path : "/components/flex" } ,
10- { label : "Usage" , path : "/components/flex/usage" } ,
11- { label : "Specifications" , path : "/components/flex/specifications" } ,
9+ { label : "Overview" , path : "/components/flex" } ,
10+ { label : "Code" , path : "/components/flex/code" } ,
1211 ] ;
1312
1413 return (
@@ -17,17 +16,11 @@ const FlexPageHeading = ({ children }: { children: ReactNode }) => {
1716 < DxcFlex direction = "column" gap = "2rem" >
1817 < ComponentHeading name = "Flex" />
1918 < DxcParagraph >
20- Flex allows users to build{ " " }
21- < DxcLink
22- newWindow
23- href = "https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox"
24- >
25- Flexible Box Module
26- </ DxcLink > { " " }
27- based layouts. It serves as a technical component that abstracts users from working directly with CSS
28- Flexbox and helps them write more semantic layouts.
19+ The flex component allows users to build flexible box module based layouts. It serves as a technical
20+ component that abstracts users from working directly with CSS flexible box layout and helps them write more
21+ semantic layouts.
2922 </ DxcParagraph >
30- < TabsPageHeading tabs = { tabs } > </ TabsPageHeading >
23+ < TabsPageHeading tabs = { tabs } / >
3124 </ DxcFlex >
3225 </ PageHeading >
3326 { children }
0 commit comments