mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
search contacts -> search messages
This commit is contained in:
1 parent
c5b1e3d8c7
commit
9cccf91a84
2 files changed
+4
-1
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { InputBase, Paper } from "@material-ui/core";
|
||||
import SearchIcon from "@material-ui/icons/Search";
|
||||
|
||||
@@ -12,6 +13,7 @@ interface IProps {
|
||||
}
|
||||
|
||||
const MessageSearch = ({ value, handleChange }: IProps) => {
|
||||
const { t } = useTranslation();
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper elevation={24} variant="outlined" className={classes.bg}>
|
||||
@@ -22,7 +24,7 @@ const MessageSearch = ({ value, handleChange }: IProps) => {
|
||||
<InputBase
|
||||
value={value}
|
||||
onChange={handleChange}
|
||||
placeholder="Search contacts..."
|
||||
placeholder={t("APPS_MESSAGES_SEARCH_PLACEHOLDER")}
|
||||
classes={{
|
||||
root: classes.inputRoot,
|
||||
input: classes.inputInput,
|
||||
|
||||
Reference in new issue
Block a user