diff --git a/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingPip.tsx b/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingPip.tsx
index c7604b7d90..7178f65965 100644
--- a/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingPip.tsx
+++ b/src/voice-broadcast/components/molecules/VoiceBroadcastRecordingPip.tsx
@@ -17,11 +17,12 @@ limitations under the License.
import React from "react";
import {
- StopButton,
+ VoiceBroadcastControl,
VoiceBroadcastRecording,
} from "../..";
import { useVoiceBroadcastRecording } from "../../hooks/useVoiceBroadcastRecording";
import { VoiceBroadcastHeader } from "../atoms/VoiceBroadcastHeader";
+import { Icon as StopIcon } from "../../../../res/img/element-icons/Stop.svg";
interface VoiceBroadcastRecordingPipProps {
recording: VoiceBroadcastRecording;
@@ -45,7 +46,11 @@ export const VoiceBroadcastRecordingPip: React.FC
-
+
;
};
diff --git a/src/voice-broadcast/index.ts b/src/voice-broadcast/index.ts
index 8f01c089c6..10329e224d 100644
--- a/src/voice-broadcast/index.ts
+++ b/src/voice-broadcast/index.ts
@@ -26,8 +26,7 @@ export * from "./models/VoiceBroadcastRecording";
export * from "./audio/VoiceBroadcastRecorder";
export * from "./components/VoiceBroadcastBody";
export * from "./components/atoms/LiveBadge";
-export * from "./components/atoms/PlaybackControlButton";
-export * from "./components/atoms/StopButton";
+export * from "./components/atoms/VoiceBroadcastControl";
export * from "./components/atoms/VoiceBroadcastHeader";
export * from "./components/molecules/VoiceBroadcastPlaybackBody";
export * from "./components/molecules/VoiceBroadcastRecordingBody";
diff --git a/test/components/atoms/Icon-test.tsx b/test/components/atoms/Icon-test.tsx
deleted file mode 100644
index 57e6e3990c..0000000000
--- a/test/components/atoms/Icon-test.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-Copyright 2022 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.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-import React from "react";
-import { render } from "@testing-library/react";
-
-import { Icon, IconColour, IconSize, IconType } from "../../../src/components/atoms/Icon";
-
-describe("Icon", () => {
- it.each([
- IconColour.Accent,
- IconColour.LiveBadge,
- ])("should render the colour %s", (colour: IconColour) => {
- const { container } = render(
-