Modal Body
Type: React component
How to get ModalBody?
JavaScript
import { ModalBody } from 'fds/components';
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
children
(Required)
Type: ReactNode