UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

36 lines (35 loc) 1.15 kB
import { SvelteComponentTyped } from "svelte"; import type { HTMLAnchorAttributes } from 'svelte/elements'; import type { Action } from 'svelte/action'; declare const __propDef: { props: HTMLAnchorAttributes & { action?: Action<HTMLElement, any>; params?: any; href?: string; color?: string; aClass?: string; }; events: { click: MouseEvent; } & { [evt: string]: CustomEvent<any>; }; slots: { default: {}; }; }; export type AProps = typeof __propDef.props; export type AEvents = typeof __propDef.events; export type ASlots = typeof __propDef.slots; /** * [Go to docs](https://flowbite-svelte.com/) * ## Props * @prop export let action: NonNullable<$$Props['action']> = () => {}; * @prop export let params: $$Props['params'] = {}; * @prop export let href: $$Props['href'] = '#'; * @prop export let color: $$Props['color'] = 'text-primary-600 dark:text-primary-500'; * @prop export let aClass: $$Props['aClass'] = 'inline-flex items-center hover:underline'; */ export default class A extends SvelteComponentTyped<AProps, AEvents, ASlots> { } export {};