@kadconsulting/dry
Version:
KAD Reusable Component Library
14 lines (13 loc) • 652 B
TypeScript
import type { ReactNode } from 'react';
export interface ContentSectionProps extends React.HTMLAttributes<HTMLElement> {
children: ReactNode | ReactNode[];
/** The order in which the two columns are presented when the layout is collapsed to a single column; default 'column'*/
mobileFlexDirection?: 'column' | 'column-reverse';
/** Support @testing-library/react `screen.getByTestId` */
'data-testid'?: string;
}
export interface ContentSectionColumnProps extends React.HTMLAttributes<HTMLElement> {
children: ReactNode | ReactNode[];
/** Support @testing-library/react `screen.getByTestId` */
'data-testid'?: string;
}