"use client"; import { TextInput, UnstyledButton } from "@mantine/core"; import { IconSearch } from "@tabler/icons-react"; import { openSpotlight } from "@homarr/spotlight"; import { useI18n } from "@homarr/translation/client"; import { HeaderButton } from "./button"; import classes from "./search.module.css"; export const DesktopSearchInput = () => { const t = useI18n(); return ( } onClick={openSpotlight} > {`${t("search.placeholder")}...`} ); }; export const MobileSearchButton = () => { return ( ); };