mirror of https://github.com/portainer/portainer
10 lines
287 B
TypeScript
10 lines
287 B
TypeScript
|
import { PropsWithChildren } from 'react';
|
||
|
|
||
|
import { useModalContext } from './Modal';
|
||
|
import styles from './ModalBody.module.css';
|
||
|
|
||
|
export function ModalBody({ children }: PropsWithChildren<unknown>) {
|
||
|
useModalContext();
|
||
|
return <div className={styles.modalBody}>{children}</div>;
|
||
|
}
|