UNPKG

deep-chat

Version:

Customizable chat component for AI APIs

19 lines 441 B
import { CustomStyle } from './styles'; export interface AvatarStyles { container?: CustomStyle; avatar?: CustomStyle; position?: 'left' | 'right'; } export interface Avatar { src?: string; styles?: AvatarStyles; } export type CustomAvatars = { default?: Avatar; user?: Avatar; ai?: Avatar; } & { [name: string]: Avatar; }; export type Avatars = true | CustomAvatars; //# sourceMappingURL=avatars.d.ts.map