Refactor pill and add tests (#10304)

This commit is contained in:
Michael Weimann 2023-03-08 13:06:50 +01:00 committed by GitHub
parent c0e40217f3
commit ad26925bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 653 additions and 275 deletions

View file

@ -1,5 +1,5 @@
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Copyright 2020-2023 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -20,7 +20,7 @@ import { Room } from "matrix-js-sdk/src/models/room";
import { logger } from "matrix-js-sdk/src/logger";
import { _t } from "../../../languageHandler";
import Pill, { PillType } from "../elements/Pill";
import { Pill, PillType } from "../elements/Pill";
import { makeUserPermalink } from "../../../utils/permalinks/Permalinks";
import BaseAvatar from "../avatars/BaseAvatar";
import SettingsStore from "../../../settings/SettingsStore";