import { ExternalLinkIcon } from 'lucide-react' import { PropsWithChildren } from 'react' import { Badge, Separator } from 'ui' import { PageContainer } from 'ui-patterns/PageContainer' import { CategoryAttribute } from './Usage.constants' export interface SectionContent { section: Pick includedInPlan?: boolean } export const SectionContent = ({ section, includedInPlan, children, }: PropsWithChildren) => { const { name, description, links } = section return ( <>

{name}

{includedInPlan === false && Not included}
{description.split('\n').map((value, idx) => (

{value}

))}
{links && links.length > 0 && (

More information

{links.map((link) => ( ))}
)}
{children}
) }