chat/index.ts

shadcn-svelte-extras · src/lib/components/ui/chat/index.ts · typescript · MIT
ui

index.ts from ieedan/shadcn-svelte-extras

// Source: https://github.com/ieedan/shadcn-svelte-extras | License: MIT | Copyright 2024 Aidan Bleser
// Provided via justclaw.it.com; keep this notice with the code.
import Bubble from './chat-bubble.svelte';
import BubbleMessage from './chat-bubble-message.svelte';
import BubbleAvatar from './chat-bubble-avatar.svelte';
import List from './chat-list.svelte';
import * as Avatar from '$lib/components/ui/avatar';

const BubbleAvatarImage = Avatar.Image;
const BubbleAvatarFallback = Avatar.Fallback;

export { List, Bubble, BubbleMessage, BubbleAvatar, BubbleAvatarImage, BubbleAvatarFallback };

export type {
	ChatListPropsWithoutHTML,
	ChatListProps,
	ChatBubblePropsWithoutHTML,
	ChatBubbleProps,
	ChatBubbleMessagePropsWithoutHTML,
	ChatBubbleMessageProps
} from './types';

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key