diff options
author | V <vendicated@riseup.net> | 2023-05-02 02:55:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 02:55:38 +0200 |
commit | bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9 (patch) | |
tree | 9f56df7433fde877b1f6c70deb77b06e6ba28676 /src/webpack/common/components.ts | |
parent | 7bc1362cbd3323c982dcc8bf10d399e581082d18 (diff) | |
download | Vencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.tar.gz Vencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.tar.bz2 Vencord-bc1d8694d4fcaaf9b4b0b744d8e81afc52b0d6f9.zip |
new plugin: VencordToolbox (#998)
Diffstat (limited to 'src/webpack/common/components.ts')
-rw-r--r-- | src/webpack/common/components.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 9554f95..97816bf 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -40,6 +40,8 @@ export let Select: t.Select; export let SearchableSelect: t.SearchableSelect; export let Slider: t.Slider; export let ButtonLooks: t.ButtonLooks; +export let Popout: t.Popout; +export let Dialog: t.Dialog; export let TabBar: any; export const Timestamp = waitForComponent<t.Timestamp>("Timestamp", filters.byCode(".Messages.MESSAGE_EDITED_TIMESTAMP_A11Y_LABEL.format")); @@ -48,6 +50,6 @@ export const Flex = waitForComponent<t.Flex>("Flex", ["Justify", "Align", "Wrap" export const ButtonWrapperClasses = findByPropsLazy("buttonWrapper", "buttonContent") as Record<string, string>; waitFor("FormItem", m => { - ({ Card, Button, FormSwitch: Switch, Tooltip, TextInput, TextArea, Text, Select, SearchableSelect, Slider, ButtonLooks, TabBar } = m); + ({ Card, Button, FormSwitch: Switch, Tooltip, TextInput, TextArea, Text, Select, SearchableSelect, Slider, ButtonLooks, TabBar, Popout, Dialog } = m); Forms = m; }); |