mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
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>;
|
||
|
}
|