From 5f3d9282650e798b546cf0b67720629ae5356063 Mon Sep 17 00:00:00 2001
From: nsaimk <103388334+nsaimk@users.noreply.github.com>
Date: Tue, 4 Jul 2023 18:58:19 +0100
Subject: [PATCH 01/26] 1. Extract the search button in its own component
---
src/Search.js | 3 ++-
src/components/SearchButton.jsx | 7 +++++++
2 files changed, 9 insertions(+), 1 deletion(-)
create mode 100644 src/components/SearchButton.jsx
diff --git a/src/Search.js b/src/Search.js
index 7bd5871c0..9456858ae 100644
--- a/src/Search.js
+++ b/src/Search.js
@@ -1,4 +1,5 @@
import React from "react";
+import SearchButton from './components/SearchButton'
const Search = () => {
return (
@@ -17,7 +18,7 @@ const Search = () => {
className="form-control"
placeholder="Customer name"
/>
-
+
+ + Glasgow is Scotland's largest city. It is known for its vibrant arts + scene and cultural offerings. +
+ +
+ + Manchester is a dynamic city in England. It is famous for its + football clubs and industrial heritage. +
+ +
+ + London is the capital of the United Kingdom. It is renowned for its + iconic landmarks such as Big Ben and the Tower of London. +
+ +| ID | +Title | +First | +Last | +Room ID | +Check In Date | +Check Out Date | +|
|---|---|---|---|---|---|---|---|
| 1 | +Mark | +Otto | +@mdo | +||||
| 2 | +Jacob | +Thornton | +@fat | +||||
| 3 | +Larry | +the Bird | +
| 1 | -Mark | -Otto | -@mdo | -||||
|---|---|---|---|---|---|---|---|
| 2 | -Jacob | -Thornton | -@fat | -||||
| 3 | -Larry | -the Bird | -|||||
| {index + 1} | +{item.title} | +{item.firstName} | +{item.surname} | +{item.email} | +{item.roomId} | +{item.checkInDate} | +{item.checkOutDate} | +