portainer/app/react/components/modals/Modal/ModalFooter.tsx

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 [&>*]:flex-1 pt-3">{children}</div>
);
}