FormSection
@spartanfx/react / FormSection
Variable: FormSection
const
FormSection:React.FunctionComponent
<IFormSectionProps
>
Renders a styled section within a form, including a section heading and content area.
This component is useful for organizing SharePoint form layouts into logical groupings. It applies scoped SCSS styling for consistent formatting across the application.
Param
The props for the component, including a title and optional child elements.
Returns
A styled div element containing a heading and section content.
Example
<FormSection title="User Details">
<TextField label="First Name" />
<TextField label="Last Name" />
</FormSection>