import React from 'react'; export interface SectionProps { /** * The children of the section. * These should generally be item or heading components. */ children: React.ReactNode; /** * The text passed to heading. * If you don't provide a title, then the heading won't be rendered. */ title?: string; /** * This will render a border at the top of the section. */ hasSeparator?: boolean; /** * A `testId` prop is provided for specified elements, * which is a unique string that appears as a data attribute `data-testid` in the rendered code, * serving as a hook for automated tests. */ testId?: string; /** * Adds `