From a0b107d0c3a8f4d79388cc85d3b19803067dd48b Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 26 Oct 2024 20:32:36 +0530 Subject: [PATCH] feat: use MUI Table --- src/components/organisms/ProxyForm.tsx | 32 ++++++++++++++------------ 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/organisms/ProxyForm.tsx b/src/components/organisms/ProxyForm.tsx index 3ecf3a93..465733be 100644 --- a/src/components/organisms/ProxyForm.tsx +++ b/src/components/organisms/ProxyForm.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import { styled } from '@mui/system'; -import { TextField, Button, Switch, FormControlLabel, Box, Typography, Tabs, Tab } from '@mui/material'; +import { TextField, Button, Switch, FormControlLabel, Box, Typography, Tabs, Tab, Table, TableContainer, TableHead, TableRow, TableBody, TableCell, Paper } from '@mui/material'; import { sendProxyConfig, getProxyConfig, testProxyConfig, deleteProxyConfig } from '../../api/proxy'; import { useGlobalInfoStore } from '../../context/globalInfo'; @@ -144,20 +144,22 @@ const ProxyForm: React.FC = () => { Current Proxy Configuration - - - - - - - - - - - - - -
Proxy URLRequires Authentication
{proxy.proxy_url}{proxy.auth ? 'Yes' : 'No'}
+ + + + + Proxy URL + Requires Authentication + + + + + {proxy.proxy_url} + {proxy.auth ? 'Yes' : 'No'} + + +
+