// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React from 'react'; import styled from 'styled-components'; import Svg from '../Svg'; import { MicrophoneProps } from './'; const SvgWithoutMicrophoneProps = ({ poorConnection, muted, ...rest }: MicrophoneProps) => ; export const StyledSvg = styled(SvgWithoutMicrophoneProps)` ${(props) => props.poorConnection ? `color: ${props.theme.colors.error.light}` : ''} `;