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

@@ -11,12 +11,12 @@ import styles from "./AttachmentActions.module.scss";
import classNames from "classnames";
import { useContext } from "preact/hooks";
import { IconButton } from "@revoltchat/ui";
import { determineFileSize } from "../../../../lib/fileSize";
import { AppContext } from "../../../../context/revoltjs/RevoltClient";
import IconButton from "../../../ui/IconButton";
interface Props {
attachment: API.File;
}