@atlaskit/form
Version:
A form allows people to input information.
32 lines (31 loc) • 945 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
interface FormHeaderProps {
/**
* Title of the form. This is a header.
*/
title?: ReactNode;
/**
* Description or subtitle of the form.
*/
description?: ReactNode;
/**
* Child content to render in the form below the title and description.
*/
children?: ReactNode;
}
/**
* __Form header__.
*
* A form header contains the form component's heading and subheadings. This provides the correct padding
* and styling for it.
*
* - [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 FormHeader: ({ children, description, title }: FormHeaderProps) => JSX.Element;
export default FormHeader;