import { IconBack } from "~assets/icons";
import type { ReactNode, PropsWithChildren } from "react";
import styles from "./tab.module.less";
interface HeaderProps {
title: ReactNode;
onBack: () => void;
}
function Tab({ children }: PropsWithChildren) {
return (
{children}
);
}
Tab.Header = function Header({ title, onBack }: HeaderProps) {
return (
);
}
Tab.Body = function Body({ children }: PropsWithChildren) {
return (
{children}
);
}
Tab.Footer = function Footer({ children }: PropsWithChildren) {
return (
);
}
export default Tab;