refactor(mobile): intial addin of dockdoor scanning on mobile
This commit is contained in:
20
lstMobile/src/components/ui/configButton.tsx
Normal file
20
lstMobile/src/components/ui/configButton.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { useRouter } from "expo-router";
|
||||
import { Settings } from "lucide-react-native";
|
||||
import { Pressable } from "react-native";
|
||||
|
||||
export function ConfigButton() {
|
||||
const router = useRouter();
|
||||
const config = () => {
|
||||
console.log("config");
|
||||
return router.replace("/setup");
|
||||
};
|
||||
|
||||
return (
|
||||
<Pressable
|
||||
onPress={config}
|
||||
className="h-12 w-12 items-center justify-center rounded-x"
|
||||
>
|
||||
<Settings color="black" size={24} />
|
||||
</Pressable>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user