import type { FC, ReactNode } from 'react' import type { InspectTab } from './types' import { RiCloseLine } from '@remixicon/react' import ActionButton from '@/app/components/base/action-button' import TabHeader from './tab-header' export type InspectHeaderProps = { activeTab: InspectTab onTabChange: (tab: InspectTab) => void onClose: () => void headerActions?: ReactNode } type InspectLayoutProps = InspectHeaderProps & { children: ReactNode } const InspectLayout: FC = ({ activeTab, onTabChange, onClose, headerActions, children, }) => { return (
{headerActions}
{children}
) } export default InspectLayout