Component properties extending SearchFormProps
Props interface for search form components
Used by components that implement GitHub username search functionality. Provides consistent prop structure for search-related components.
SearchFormProps
OptionalclassName?: stringOptional CSS class names for styling
OptionaldataTestId?: stringOptional data-testid for testing
OptionalisLoading?: booleanOptional loading state indicator
Form submission handler
Callback function triggered when suggestion is selected
Callback function triggered when username input changes
Optionalplaceholder?: stringPlaceholder text for the search input
Current username value in the search input
The search form component
Search form component for GitHub username search
Features:
Visual Elements:
Interaction States:
Example