共用方式為


CustomAvatarOptions type

可插入至 onRender 函式的選項,以自定義虛擬人偶 (Persona) 元件。

type CustomAvatarOptions = {
  coinSize?: number
  hidePersonaDetails?: boolean
  initialsTextColor?: string
  noVideoAvailableAriaLabel?: string
  presence?: PersonaPresence
  size?: PersonaSize
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>
  text?: string
}