@sorens/artist-svelte
Version:
an opinionated and clean UI framework for SvelteKit with theme support built-in
35 lines (34 loc) • 1.17 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { ColorProp } from '../../types/components';
import type { useAction } from '../../types/global';
declare const __propDef: {
props: {
[x: string]: any;
color?: ColorProp;
muted?: boolean;
truncate?: boolean;
textStyle?: 'uppercase' | 'lowercase' | 'capitalize' | undefined;
elementType?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'strong' | 'em' | 'i' | 'p';
useAction?: useAction<HTMLElement>;
class?: string | undefined;
};
events: {
click: MouseEvent;
dblclick: MouseEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
focus: FocusEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export declare type TextBlockProps = typeof __propDef.props;
export declare type TextBlockEvents = typeof __propDef.events;
export declare type TextBlockSlots = typeof __propDef.slots;
export default class TextBlock extends SvelteComponentTyped<TextBlockProps, TextBlockEvents, TextBlockSlots> {
}
export {};