Mixins / foldkit-mixins-ui
AvatarSource
type · packages/mixins-ui/src/avatar.ts:76
type AvatarSource =
| {
readonly src?: string | undefined
readonly picture?: undefined
}
| {
readonly picture: AvatarPicture
readonly src?: undefined
}Where the picture comes from: a URL, or an AvatarPicture; never both.