const roomData = {
single: {
img: 'https://hebbkx1anhila5yf.public.blob.vercel-storage.com/attachments/gen-images/public/cozy-single-hotel-room-with-one-bed-VyEDvoNKhePzyx3AyLwkJoAf0CXS6Y.jpg',
price: 99,
title: 'Single Room',
description: 'Perfect for solo travelers seeking comfort',
},
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from "react"; | |
| import pieces from "./data"; | |
| import "./App.css"; | |
| function App() { | |
| const [expressionIndex, setExpressionIndex] = useState(2); | |
| const [hairIndex, setHairIndex] = useState(2); | |
| const [outfitIndex, setOutfitIndex] = useState(3); | |
| const randomize = () => { |
OlderNewer