diff --git a/src/equicordplugins/customAppIcons/index.tsx b/src/equicordplugins/customAppIcons/index.tsx new file mode 100644 index 00000000..0339c688 --- /dev/null +++ b/src/equicordplugins/customAppIcons/index.tsx @@ -0,0 +1,91 @@ +/* + * Vencord, a Discord client mod + * Copyright (c) 2024 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +import { definePluginSettings } from "@api/Settings"; +import { CodeBlock } from "@components/CodeBlock"; +import { Devs, EquicordDevs } from "@utils/constants"; +import definePlugin, { OptionType, PluginSettingComponentDef } from "@utils/types"; +import { Forms, React, TextArea } from "@webpack/common"; + +type Icon = { + id: string, + iconSource: string, + isPremium: boolean, + name: string, +}; + +const settings = definePluginSettings({ + icons: { + description: "Icons to add", + type: OptionType.COMPONENT, + restartNeeded: true, + component: iconSettingsComponent + } +}); + +function iconSettingsComponent(props: Parameters[0]) { + const [state, setState] = React.useState(settings.store.icons ?? ""); + + function handleChange(newValue: string) { + setState(newValue); + props.setValue(newValue); + } + + return + Icons + The icons you want to add. + +