import React from "react"; import clsx from "clsx"; import type { ModalFooterProps } from "./types"; import modalFooterTheme from "./modalFooterTheme"; const TEModalFooter: React.FC = React.forwardRef< HTMLAllCollection, ModalFooterProps >( ( { className, children, theme: customTheme, tag: Tag = "div", ...props }, ref ) => { const theme = { ...modalFooterTheme, ...customTheme }; const classes = clsx(theme.wrapper, className); return ( {children} ); } ); export default TEModalFooter;