7fe0712b61
Co-authored-by: matias.spinarolli <matias.spinarolli@portainer.io>
12 lines
279 B
TypeScript
12 lines
279 B
TypeScript
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>
|
|
);
|
|
}
|