extract components from website
This commit is contained in:
15
apps/website/components/ui/TabContent.tsx
Normal file
15
apps/website/components/ui/TabContent.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
|
||||
interface TabContentProps {
|
||||
activeTab: string;
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export default function TabContent({ activeTab, children, className = '' }: TabContentProps) {
|
||||
return (
|
||||
<div className={className}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user