3v324v23's picture
Зафиксирована рабочая версия TEN-Agent для HuggingFace Space
87337b1
raw
history blame contribute delete
381 Bytes
import camMuteSvg from "@/assets/cam_mute.svg"
import camUnMuteSvg from "@/assets/cam_unmute.svg"
import { IconProps } from "../types"
interface ICamIconProps extends IconProps {
active?: boolean
}
export const CamIcon = (props: ICamIconProps) => {
const { active, ...rest } = props
if (active) {
return camUnMuteSvg(rest)
} else {
return camMuteSvg(rest)
}
}