@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
22 lines (21 loc) • 839 B
TypeScript
import type { string_book } from '../../../book-2.0/agent-source/string_book';
import type { AvatarChipProps } from './AvatarChip';
/**
* Props of `AvatarChipFromSource`
*
* @public exported from `@promptbook/components`
*/
export type AvatarChipFromSourceProps = Omit<AvatarChipProps, 'avatarBasicInformation'> & {
/**
* Avatar to be shown
*/
readonly source: string_book;
};
/**
* Shows a chip with avatar's avatar and name based on the avatar source string
*
* This component is wrapped around the `<AvatarChip/>`, it just parses the avatar source string into `AvatarBasicInformation` and passes it to the `<AvatarChip/>` component.
*
* @public exported from `@promptbook/components`
*/
export declare function AvatarChipFromSource(props: AvatarChipFromSourceProps): import("react/jsx-runtime").JSX.Element;