interface IProps { type: string; } export function SoundIcon(props: IProps) { if (props.type === 'off') { return ( ); } return ( ); }