16 lines
318 B
TypeScript
16 lines
318 B
TypeScript
'use client'
|
|
import { createContext } from "react";
|
|
|
|
|
|
|
|
export default function LocationSearch() {
|
|
|
|
|
|
return (
|
|
<>
|
|
<input id="location" type="text" placeholder="enter a location to get the weather"/>
|
|
<label htmlFor="location" className="hidden">Enter location to get the weather!</label>
|
|
</>
|
|
);
|
|
}
|