You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/components/modals/Modal/ModalFooter.tsx

12 lines
279 B

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>
);
}