feat(@ui): migrate input box

This commit is contained in:
Paul Makles
2022-05-30 12:26:16 +01:00
parent 2f9bfbf83f
commit 1d243d4762
13 changed files with 66 additions and 105 deletions

View File

@@ -5,15 +5,13 @@ import styled from "styled-components/macro";
import { Text } from "preact-i18n";
import { useEffect, useState } from "preact/hooks";
import { Button } from "@revoltchat/ui";
import { Button, InputBox } from "@revoltchat/ui";
import { useClient } from "../../../context/revoltjs/RevoltClient";
import Message from "../../common/messaging/Message";
import InputBox from "../../ui/InputBox";
import Overline from "../../ui/Overline";
import Preloader from "../../ui/Preloader";
import { GenericSidebarBase, GenericSidebarList } from "../SidebarBase";
type SearchState =