mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
Update src/plugins/notesSearcher/components/NotesDataModal.tsx
Co-authored-by: dolfies <jeyalfie47@gmail.com>
This commit is contained in:
parent
f866808e23
commit
4fae539fa4
1 changed files with 13 additions and 13 deletions
|
@ -1,17 +1,17 @@
|
|||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { classNameFactory } from "@api/Styles";
|
||||
/*
|
||||
* Vencord, a Discord client mod
|
||||
* Copyright (c) 2024 Vendicated and contributors
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
import { classNameFactory } from "@api/Styles";
|
||||
import {
|
||||
closeModal, ModalCloseButton, ModalContent, ModalHeader, ModalProps, ModalRoot, openModal
|
||||
} from "@utils/modal";
|
||||
import { LazyComponent } from "@utils/react";
|
||||
import { Button, React, RelationshipStore, Select, Text, TextInput, useCallback, useMemo, useReducer, useState } from "@webpack/common";
|
||||
|
||||
import { cacheUsers, getNotes, usersCache as usersCache$1 } from "../data";
|
||||
} from "@utils/modal";
|
||||
import { LazyComponent } from "@utils/react";
|
||||
import { Button, React, RelationshipStore, Select, Text, TextInput, useCallback, useMemo, useReducer, useState } from "@webpack/common";
|
||||
|
||||
import { cacheUsers, getNotes, usersCache as usersCache$1 } from "../data";
|
||||
import NotesDataRow from "./NotesDataRow";
|
||||
|
||||
const cl = classNameFactory("vc-notes-searcher-modal-");
|
||||
|
@ -98,7 +98,7 @@ export function NotesDataModal({ modalProps, close }: {
|
|||
return (
|
||||
<ModalRoot className={cl("root")} {...modalProps}>
|
||||
<ModalHeader className={cl("header")}>
|
||||
<Text className={cl("header-text")} variant="heading-lg/semibold" style={{ whiteSpace: "nowrap", width: "fit-content", marginRight: "16px" }}>Notes Data</Text>
|
||||
<Text className={cl("header-text")} variant="heading-lg/semibold" style={{ whiteSpace: "nowrap", width: "fit-content", marginRight: "16px" }}>User Notes</Text>
|
||||
<TextInput className={cl("header-input")} value={searchValue.query} onChange={onSearch} placeholder="Filter Notes (ID/Global Name/Username/Notes text)" style={{ width: "100% !important", marginRight: "16px" }} />
|
||||
<div className={cl("header-user-type")} style={{ minWidth: "160px", marginRight: "16px" }}>
|
||||
<Select
|
||||
|
|
Loading…
Reference in a new issue