UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

32 lines (31 loc) 1.21 kB
import { SvelteComponentTyped } from "svelte"; import type { HTMLAttributes } from 'svelte/elements'; declare const __propDef: { props: HTMLAttributes<HTMLDivElement> & { divWrapperClass?: string; divClass?: string; spanClass?: string; label?: string; }; events: { [evt: string]: CustomEvent<any>; }; slots: { icon: {}; default: {}; }; }; export type SidebarCtaProps = typeof __propDef.props; export type SidebarCtaEvents = typeof __propDef.events; export type SidebarCtaSlots = typeof __propDef.slots; /** * [Go to docs](https://flowbite-svelte.com/) * ## Props * @prop export let divWrapperClass: $$Props['divWrapperClass'] = 'p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900'; * @prop export let divClass: $$Props['divClass'] = 'flex items-center mb-3'; * @prop export let spanClass: $$Props['spanClass'] = 'bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-primary-200 dark:text-primary-900'; * @prop export let label: $$Props['label'] = ''; */ export default class SidebarCta extends SvelteComponentTyped<SidebarCtaProps, SidebarCtaEvents, SidebarCtaSlots> { } export {};