Skip to content

Commit

Permalink
fix: made clear-icon a generic size
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 16, 2024
1 parent 291521c commit 319d479
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/assets/icons/icon.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
import styled from "@emotion/styled";
import MicMute from "./mic_off.svg";
import MicUnmute from "./mic_on.svg";
import RemoveIcon from "./clear.svg";
import RemoveSvg from "./clear.svg";

const Icon = styled.img`
width: 100%;
height: auto;
display: block;
`;

const RemoveLineStyling = styled.img`
width: 2.5rem;
`;

export const MicMuted = () => <Icon src={MicMute} alt="off-microphone" />;

export const MicUnmuted = () => <Icon src={MicUnmute} alt="on-microphone" />;

export const RemoveLine = () => (
<RemoveLineStyling src={RemoveIcon} alt="cross" />
);
export const RemoveIcon = () => <Icon src={RemoveSvg} alt="cross" />;

0 comments on commit 319d479

Please sign in to comment.