Files
dm-companion/src/components/layout/TabbedLayout.tsx

17 lines
358 B
TypeScript

export type Props = {
title: React.ReactNode;
navigation: React.ReactNode;
tabs: React.ReactNode[];
content: React.ReactNode;
};
export function TabbedLayout({ navigation, title, tabs, content }: Props) {
return (
<div>
<div>{navigation}</div>
<div>{title}</div>
<div>{tabs}</div>
<div>{content}</div>
</div>
);
}