ModalBody

How to get ModalBody

import { ModalBody } from 'fds/components';

Type: Component

Serves as an arbitrary container for the content of the modal. This container does utilize flexbox behavior, so that it's possible to easily grow content inside a full-height modal.

This component expects at least a ModalContent component and optionally a ModalBodyToolbar as direct children.

Should be used as a direct child of a Modal component.

Props

# Name Type Description
1. children ReactNode

Related links

Was this page helpful?