// This file is part of Shadcn Admin Kit (https://github.com/marmelab/shadcn-admin-kit) import { useTranslate } from "ra-core"; import { Search } from "lucide-react"; import type { TextInputProps } from "@/components/admin/text-input"; import { TextInput } from "@/components/admin/text-input"; import { cn } from "@/lib/utils"; export const SearchInput = (inProps: SearchInputProps) => { const { label, className, ...rest } = inProps; const translate = useTranslate(); if (label) { throw new Error( " isn't designed to be used with a label prop. Use if you need a label.", ); } return (
); }; export type SearchInputProps = TextInputProps;