feat(@ui): migrate line divider, preloader and save status

This commit is contained in:
Paul Makles
2022-05-30 12:40:01 +01:00
parent ab77d4a812
commit b4777e9816
30 changed files with 55 additions and 206 deletions

View File

@@ -5,15 +5,14 @@ import styles from "./Attachment.module.scss";
import { Text } from "preact-i18n";
import { useContext, useEffect, useState } from "preact/hooks";
import { Button, Preloader } from "@revoltchat/ui";
import RequiresOnline from "../../../../context/revoltjs/RequiresOnline";
import {
AppContext,
StatusContext,
} from "../../../../context/revoltjs/RevoltClient";
import Preloader from "../../../ui/Preloader";
import { Button } from "@revoltchat/ui";
interface Props {
attachment: API.File;
}