@fuxui/base
Version:
ui kit - svelte 5 + tailwind 4 - base components
15 lines (14 loc) • 554 B
TypeScript
import { Avatar as AvatarPrimitive, type WithoutChildrenOrChild } from 'bits-ui';
type $$ComponentProps = WithoutChildrenOrChild<AvatarPrimitive.RootProps> & {
fallback?: string;
imageRef?: HTMLImageElement | null;
imageClass?: string;
fallbackRef?: HTMLElement | null;
fallbackClass?: string;
src?: string;
alt?: string;
useThemeColor?: boolean;
};
declare const Avatar: import("svelte").Component<$$ComponentProps, {}, "ref" | "imageRef" | "fallbackRef">;
type Avatar = ReturnType<typeof Avatar>;
export default Avatar;