@atlaskit/form
Version:
A form allows people to input information.
28 lines (27 loc) • 935 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type ReactNode } from 'react';
import { type Align } from './types';
interface FormFooterProps {
/**
* Content to render in the footer of the form.
*/
children?: ReactNode;
/**
* Sets the alignment of the footer contents. This is often a button. This should be left-aligned in single-page forms, flags, cards, and section messages.
*/
align?: Align;
}
/**
* __Form footer__
*
* A form footer has the content to be shown at the bottom of the form. This is usually the submit button.
*
* - [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)
*/
export default function FormFooter({ align, children }: FormFooterProps): JSX.Element;
export {};