tron-v1
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.

38 lines
812 B

7 months ago
  1. 'use client';
  2. import React from 'react';
  3. import { Tabs } from 'antd';
  4. import type { TabsProps } from 'antd';
  5. const PermissionsPage: React.FC = () => {
  6. const items: TabsProps['items'] = [
  7. {
  8. key: '1',
  9. label: 'My Account',
  10. children: (
  11. <div>
  12. <h3>My Account Content</h3>
  13. {/* Add your My Account content here */}
  14. </div>
  15. ),
  16. },
  17. {
  18. key: '2',
  19. label: 'Other Accounts',
  20. children: (
  21. <div>
  22. <h3>Other Accounts Content</h3>
  23. {/* Add your Other Accounts content here */}
  24. </div>
  25. ),
  26. },
  27. ];
  28. return (
  29. <div className="p-6">
  30. <h2 className="text-2xl font-bold mb-6">Permissions</h2>
  31. <Tabs defaultActiveKey="1" items={items} />
  32. </div>
  33. );
  34. };
  35. export default PermissionsPage;