2.0 Overhaul start

This commit is contained in:
Sacha Weatherstone
2022-09-22 16:35:40 +10:00
parent 4e45990ef5
commit a73eab1ea6
87 changed files with 2880 additions and 3573 deletions
+34
View File
@@ -0,0 +1,34 @@
import type React from "react";
import { FiBluetooth, FiTerminal, FiWifi } from "react-icons/fi";
import { TabbedContent, TabType } from "./layout/page/TabbedContent.js";
import { BLE } from "./PageComponents/Connect/BLE.js";
import { HTTP } from "./PageComponents/Connect/HTTP.js";
import { Serial } from "./PageComponents/Connect/Serial.js";
export const NewDevice = () => {
const tabs: TabType[] = [
{
name: "BLE",
icon: <FiBluetooth className="h-4" />,
element: BLE,
},
{
name: "HTTP",
icon: <FiWifi className="h-4" />,
element: HTTP,
},
{
name: "Serial",
icon: <FiTerminal className="h-4" />,
element: Serial,
},
];
return (
<div className="w-96 h-96 m-auto">
<TabbedContent tabs={tabs} />
</div>
);
};