@skeletonlabs/skeleton
Version:
A SvelteKit component library.
46 lines (45 loc) • 1.87 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { Action } from 'svelte/action';
declare const __propDef: {
props: {
[x: string]: any;
/** Initials only - Provide up to two text characters.*/
initials?: string | undefined;
/** Initials only - Provide classes to set the SVG text fill color.*/
fill?: string | undefined;
/** Initials only - Set the base font size for the scalable SVG text.*/
fontSize?: number | undefined;
/** Provide the avatar image element source.*/
src?: string | undefined;
/** Provide the fallback image element source.*/
fallback?: string | undefined;
/** Image only. Provide a Svelte action reference, such as `filter`.*/
action?: Action<HTMLElement, string, Record<never, any>> | undefined;
/** Image only. Provide Svelte action params, such as Apollo.*/
actionParams?: string | undefined;
/** Provide classes to set background styles.*/
background?: string | undefined;
/** Provide classes to set avatar width.*/
width?: string | undefined;
/** Provide classes to set border styles.*/
border?: string | undefined;
/** Provide classes to set rounded style.*/
rounded?: string | undefined;
/** Provide classes to set shadow styles.*/
shadow?: string | undefined;
/** Provide classes to set cursor styles.*/
cursor?: string | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type AvatarProps = typeof __propDef.props;
export type AvatarEvents = typeof __propDef.events;
export type AvatarSlots = typeof __propDef.slots;
export default class Avatar extends SvelteComponentTyped<AvatarProps, AvatarEvents, AvatarSlots> {
}
export {};