diff --git a/app/(tabs)/sensor.tsx b/app/(tabs)/sensor.tsx index d8efbe9..dcb363b 100644 --- a/app/(tabs)/sensor.tsx +++ b/app/(tabs)/sensor.tsx @@ -1,4 +1,5 @@ import ScanQRCode from "@/components/ScanQRCode"; +import Select from "@/components/Select"; import { useState } from "react"; import { Platform, @@ -21,13 +22,32 @@ export default function Sensor() { const handleScanPress = () => { setScanModalVisible(true); }; + const [selectedValue, setSelectedValue] = useState< + string | number | undefined + >(undefined); + + const options = [ + { label: "Apple", value: "apple" }, + { label: "Banana", value: "banana" }, + { label: "Cherry", value: "cherry", disabled: true }, + ]; return ( Cảm biến trên tàu - +