Interface SearchBarProps

The SearchBar component renders a search input field with a search button.

The type of the input field.

The placeholder text for the input field.

Indicates if the search bar is in the header.

Custom class names for the search bar.

Indicates if the search bar is scrolled.

  • The rendered search bar component.
interface SearchBarProps {
    className?: string;
    inHeader?: boolean;
    placeholder: string;
    scrolled?: boolean;
    type: string;
}

Properties

className?: string
inHeader?: boolean
placeholder: string
scrolled?: boolean
type: string