mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
16 lines
379 B
TypeScript
16 lines
379 B
TypeScript
import { IconButton } from "./IconButton";
|
|
import { searchIcon } from "../constants/icons";
|
|
|
|
interface SearchButtonProps {
|
|
onClick?: () => void;
|
|
}
|
|
|
|
/**
|
|
* Search Button Component.
|
|
* Icon button that triggers the search modal.
|
|
*/
|
|
export function SearchButton({ onClick }: SearchButtonProps) {
|
|
return <IconButton icon={searchIcon} ariaLabel="Search" onClick={onClick} />;
|
|
}
|
|
|