- added settings page - can post and get data from endpoint
- moved toaster to main page - updated config for CORS
This commit is contained in:
25
src/features/settings/components/Settings.tsx
Normal file
25
src/features/settings/components/Settings.tsx
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Tabs, Tab, TabList, TabPanel } from "react-tabs";
|
||||
import "react-tabs/style/react-tabs.css";
|
||||
import Card from "../../../ui/Card";
|
||||
import SystemConfig from "./SystemConfig";
|
||||
import CardHeader from "../../../ui/CardHeader";
|
||||
|
||||
const Settings = () => {
|
||||
return (
|
||||
<div>
|
||||
<Tabs>
|
||||
<TabList>
|
||||
<Tab>Systems</Tab>
|
||||
</TabList>
|
||||
<TabPanel>
|
||||
<Card className="p-4">
|
||||
<CardHeader title="System Configuration" />
|
||||
<SystemConfig />
|
||||
</Card>
|
||||
</TabPanel>
|
||||
</Tabs>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Settings;
|
||||
Reference in New Issue
Block a user