Hack-The-Tunnels-8 / hack-the-tunnels-oreo

hack-the-tunnels-oreo created by GitHub Classroom
0 stars 0 forks source link

Add Search Bar Component #47

Open hackthetunnelsbot[bot] opened 1 year ago

hackthetunnelsbot[bot] commented 1 year ago

Description:

Create a new "SearchBar" component.

The search bar should take a prop called searchTerm.

It should have a input tag and set the value of input tag to the value of searchTerm.

Vaguely style the search bar to appear like the following, but feel free to add your own twist:

example

Acceptance Criteria:

A new SearchBar component has been added that takes a prop named searchTerm and displays this as the value of an input tag within the component.