/** * @file Property section component */ import * as React from "react"; import { H4 } from "../../elements/Heading"; import styles from "./PropertySection.module.css"; export type PropertySectionProps = { title: string; className?: string; bodyClassName?: string; headerRight?: React.ReactNode; children: React.ReactNode; "data-testid"?: string; }; /** * PropertySection * - Reusable sidebar section with a small, uppercase title * - Applies consistent vertical spacing (Figma-like) */ export const PropertySection: React.FC = ({ title, className, bodyClassName, headerRight, children, "data-testid": dataTestId, }) => { return (

{title}

{headerRight ?
{headerRight}
: null}
{children}
); }; PropertySection.displayName = "PropertySection";