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.

37 lines
715 B

7 months ago
  1. 'use client';
  2. import React from 'react';
  3. import { Card, Tabs } from 'antd';
  4. import type { TabsProps } from 'antd';
  5. const ResourcesPage = () => {
  6. const items: TabsProps['items'] = [
  7. {
  8. key: '1',
  9. label: 'My Resources',
  10. children: (
  11. <div>
  12. My Resources Content
  13. </div>
  14. ),
  15. },
  16. {
  17. key: '2',
  18. label: 'My Stake',
  19. children: (
  20. <div>
  21. My Stake Content
  22. </div>
  23. ),
  24. },
  25. ];
  26. return (
  27. <div className="flex flex-col gap-4">
  28. <Card title="Stake for Resources">
  29. Stake for Resources Content
  30. </Card>
  31. <Tabs defaultActiveKey="1" items={items} />
  32. </div>
  33. );
  34. };
  35. export default ResourcesPage;