You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
812 B
39 lines
812 B
'use client';
|
|
|
|
import React from 'react';
|
|
import { Tabs } from 'antd';
|
|
import type { TabsProps } from 'antd';
|
|
|
|
const PermissionsPage: React.FC = () => {
|
|
const items: TabsProps['items'] = [
|
|
{
|
|
key: '1',
|
|
label: 'My Account',
|
|
children: (
|
|
<div>
|
|
<h3>My Account Content</h3>
|
|
{/* Add your My Account content here */}
|
|
</div>
|
|
),
|
|
},
|
|
{
|
|
key: '2',
|
|
label: 'Other Accounts',
|
|
children: (
|
|
<div>
|
|
<h3>Other Accounts Content</h3>
|
|
{/* Add your Other Accounts content here */}
|
|
</div>
|
|
),
|
|
},
|
|
];
|
|
|
|
return (
|
|
<div className="p-6">
|
|
<h2 className="text-2xl font-bold mb-6">Permissions</h2>
|
|
<Tabs defaultActiveKey="1" items={items} />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default PermissionsPage;
|