import { IconSearch } from "@tabler/icons-react"; import cx from "clsx"; import { ActionIcon, BoxProps, ElementProps, Group, rem, Text, Tooltip, UnstyledButton, } from "@mantine/core"; import classes from "./search-control.module.css"; import React from "react"; import { useTranslation } from "react-i18next"; interface SearchControlProps extends BoxProps, ElementProps<"button"> {} export function SearchControl({ className, ...others }: SearchControlProps) { const { t } = useTranslation(); return ( {t("Search")} Ctrl + K ); } interface SearchMobileControlProps { onSearch: () => void; } export function SearchMobileControl({ onSearch }: SearchMobileControlProps) { const { t } = useTranslation(); return ( ); }