feat(@ui): migrate icon button

This commit is contained in:
Paul Makles
2022-05-30 12:01:47 +01:00
parent a64fe61199
commit c2547b3ead
20 changed files with 39 additions and 120 deletions

View File

@@ -7,11 +7,11 @@ import classNames from "classnames";
import { Text } from "preact-i18n";
import { useContext, useEffect, useState } from "preact/hooks";
import { IconButton } from "@revoltchat/ui";
import { determineFileSize } from "../../lib/fileSize";
import IconButton from "../../components/ui/IconButton";
import Preloader from "../../components/ui/Preloader";
import { useIntermediate } from "../intermediate/Intermediate";
import { AppContext } from "./RevoltClient";
import { takeError } from "./util";