19 lines
564 B
TypeScript
19 lines
564 B
TypeScript
"use client";
|
|
|
|
import { memo } from "react";
|
|
import { ModalFooterView } from "./ModalFooter.view";
|
|
import type { ModalFooterProps } from "./ModalFooter.types";
|
|
|
|
/**
|
|
* Figma: "Utility / ModalFooter". Lives under `modals/` with other composed modal chrome.
|
|
* Sticky modal footer slot used by the create-flow + login modals to host
|
|
* primary/secondary actions.
|
|
*/
|
|
const ModalFooterContainer = memo<ModalFooterProps>((props) => {
|
|
return <ModalFooterView {...props} />;
|
|
});
|
|
|
|
ModalFooterContainer.displayName = "ModalFooter";
|
|
|
|
export default ModalFooterContainer;
|