// Copyright (c) Tailscale Inc & AUTHORS // SPDX-License-Identifier: BSD-3-Clause import cx from "classnames" import React, { forwardRef, InputHTMLAttributes } from "react" import Search from "src/assets/icons/search.svg?react" type Props = { className?: string inputClassName?: string } & InputHTMLAttributes /** * SearchInput is a standard input with a search icon. */ const SearchInput = forwardRef((props, ref) => { const { className, inputClassName, ...rest } = props return (
) }) SearchInput.displayName = "SearchInput" export default SearchInput