1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 21:39:40 +02:00
portainer/app/react/components/modals/Modal/ModalFooter.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
279 B
TypeScript
Raw Normal View History

import { PropsWithChildren } from 'react';
import { useModalContext } from './Modal';
export function ModalFooter({ children }: PropsWithChildren<unknown>) {
useModalContext();
return (
<div className="flex justify-end gap-3 pt-3 [&>*]:flex-1">{children}</div>
);
}