better-svelte-email
Version:
Svelte email renderer with Tailwind support
16 lines (15 loc) • 430 B
TypeScript
import type { HTMLAttributes } from 'svelte/elements';
type Props = HTMLAttributes<HTMLHeadingElement> & {
children: any;
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
m?: string;
mx?: string;
my?: string;
mt?: string;
mr?: string;
mb?: string;
ml?: string;
};
declare const Heading: import("svelte").Component<Props, {}, "">;
type Heading = ReturnType<typeof Heading>;
export default Heading;