flowbite-svelte-blocks
Version:
Flowbite blocks components for Svelte
28 lines (27 loc) • 740 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
interface Props extends HTMLAttributes<HTMLDivElement> {
children?: Snippet;
h1?: Snippet;
h2?: Snippet;
paragraph?: Snippet;
class?: string;
h1Class?: string;
h2Class?: string;
pClass?: string;
}
/**
* [Go to docs](https://flowbite-svelte-blocks.codewithshin.com/)
* ## Props
* @props: children: any;
* @props:h1: any;
* @props:h2: any;
* @props:paragraph: any;
* @props:class: string;
* @props:h1Class: any;
* @props:h2Class: any;
* @props:pClass: any;
*/
declare const HeroHeader: import("svelte").Component<Props, {}, "">;
type HeroHeader = ReturnType<typeof HeroHeader>;
export default HeroHeader;