UNPKG

@memori.ai/memori-react

Version:

[![npm version](https://img.shields.io/github/package-json/v/memori-ai/memori-react)](https://www.npmjs.com/package/@memori.ai/memori-react) ![Tests](https://github.com/memori-ai/memori-react/workflows/CI/badge.svg?branch=main) ![TypeScript Support](https

31 lines (30 loc) 1.09 kB
import { CSSProperties } from 'react'; import React from 'react'; export interface Props { url: string; sex: 'MALE' | 'FEMALE'; fallbackImg?: string; eyeBlink?: boolean; headMovement?: boolean; rotateAvatar?: boolean; speaking?: boolean; style?: CSSProperties; fallback?: React.ReactNode; halfBody?: boolean; loading?: boolean; animation?: string; showControls?: boolean; isZoomed?: boolean; chatEmission?: any; enablePositionControls?: boolean; setEnablePositionControls: (value: boolean) => void; isTotem?: boolean; setMeshRef?: any; stopProcessing: () => void; resetVisemeQueue: () => void; updateCurrentViseme: (currentTime: number) => { name: string; weight: number; } | null; } export default function ContainerAvatarView({ url, sex, style, rotateAvatar, eyeBlink, headMovement, speaking, fallback, fallbackImg, halfBody, loading, showControls, isZoomed, chatEmission, updateCurrentViseme, enablePositionControls, setEnablePositionControls, isTotem, }: Props): JSX.Element;