geist-ui-svelte
Version:
<img src="./src/lib/assets/demo-page.png">
39 lines (38 loc) • 1.78 kB
TypeScript
import { SvelteComponent } from "svelte";
import type { TextAlignment } from "../types.js";
declare const __propDef: {
props: {
[x: string]: any;
type?: ("h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "small" | "span") | undefined;
size?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
smSize?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
mdSize?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
lgSize?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
noWrap?: boolean | undefined;
serif?: boolean | undefined;
i?: boolean | undefined;
b?: boolean | undefined;
del?: boolean | undefined;
blockquote?: boolean | undefined;
align?: TextAlignment | undefined;
class?: string | undefined;
color?: "success" | "warning" | "error" | "secondary" | "inherit" | "abort" | "dark" | null | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type TextProps = typeof __propDef.props;
export type TextEvents = typeof __propDef.events;
export type TextSlots = typeof __propDef.slots;
/**
* Displays non-interactive text.
*
* [See Docs](https://geist-ui-svelte.dev/components/text) | [Open Issue](https://github.com/ieedan/geist-ui-svelte/issues/new)
*/
export default class Text extends SvelteComponent<TextProps, TextEvents, TextSlots> {
}
export {};