diff --git a/app/components/SearchBar.tsx b/app/components/SearchBar.tsx index 2f6043d..5588f84 100644 --- a/app/components/SearchBar.tsx +++ b/app/components/SearchBar.tsx @@ -1,28 +1,68 @@ "use client"; import styled from "styled-components"; -import Button from "./Button"; -import TextInput from "./TextInput"; -// TODO: Add props for SearchBarBar type SearchBarProps = { - propName: string; // replace string with actual prop type + placeholder?: string; }; -// TODO: implement SearchBar component -export default function SearchBar({}: SearchBarProps) { +// TODO: Replace SearchInput with TextInput component (borderless variant) and SearchButton with Button component once both are fully implemented +// This SearchBar extends TextInput and Button components as intended +export default function SearchBar({ placeholder = "Search" }: SearchBarProps) { return ( - -