chore: group types locale

This commit is contained in:
dongchengjie
2024-07-07 21:56:20 +08:00
parent 545a2c6688
commit 78c32d51db
10 changed files with 94 additions and 45 deletions

View File

@@ -26,7 +26,7 @@ type SearchProps = {
export const BaseSearchBox = styled((props: SearchProps) => {
const { t } = useTranslation();
const inputRef = useRef<HTMLInputElement>(null);
const [matchCase, setMatchCase] = useState(props.matchCase ?? true);
const [matchCase, setMatchCase] = useState(props.matchCase ?? false);
const [matchWholeWord, setMatchWholeWord] = useState(
props.matchWholeWord ?? false
);