@atlaskit/form
Version:
A form allows people to input information.
32 lines (31 loc) • 944 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
interface FormSectionProps {
/**
* Title of the form section.
*/
title?: ReactNode;
/**
* Content or components to render after the description.
*/
children?: ReactNode;
/**
* Description of the contents of the section.
*/
description?: ReactNode;
}
/**
* __Form section__.
*
* A form section is used to define a section of a form layout. This contains a section title, content
* and a description of the section.
*
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
* - [Code](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout)
* - [Usage](https://atlaskit.atlassian.com/packages/design-system/form/docs/layout).
*/
declare const FormSection: ({ children, description, title }: FormSectionProps) => JSX.Element;
export default FormSection;