/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; import { forwardRef } from "preact/compat"; import { cx } from "../../internal/index.js"; export interface CardSectionProps extends JSX.HTMLAttributes { /** Header row: baseline aligned, space between. */ header?: boolean; } /** * A row inside a `Card` with `padding="none"`, ruled off from its siblings. * * @example * TitleBody */ export const CardSection = forwardRef( ({ header = false, className = "", children, ...rest }, ref) => (
{children}
), ); CardSection.displayName = "CardSection";