@atlaskit/modal-dialog
Version:
A modal dialog displays content that requires user interaction, in a layer above the page.
33 lines (32 loc) • 975 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React from 'react';
export interface ModalBodyProps {
/**
* Children of modal dialog footer.
*/
children: React.ReactNode;
/**
* 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;
/**
* Determines whether inline padding will be applied. Defaults to true.
*/
hasInlinePadding?: boolean;
}
/**
* __Modal body__
*
* A modal body is used to display the main content of a modal.
*
* - [Examples](https://atlassian.design/components/modal-dialog/examples)
* - [Code](https://atlassian.design/components/modal-dialog/code#modal-body-props)
* - [Usage](https://atlassian.design/components/modal-dialog/usage)
*/
declare const ModalBody: (props: ModalBodyProps) => JSX.Element;
export default ModalBody;