UNPKG

flowbite-svelte

Version:

Flowbite components for Svelte

29 lines (28 loc) 953 B
import { SvelteComponentTyped } from "svelte"; import type { HTMLImgAttributes } from 'svelte/elements'; declare const __propDef: { props: HTMLImgAttributes & { selected?: boolean; alt?: string | undefined | null; activeClass?: string; inactiveClass?: string; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type ThumbnailProps = typeof __propDef.props; export type ThumbnailEvents = typeof __propDef.events; export type ThumbnailSlots = typeof __propDef.slots; /** * [Go to docs](https://flowbite-svelte.com/) * ## Props * @prop export let selected: boolean = false; * @prop export let alt: string | undefined | null = ''; * @prop export let activeClass: string = 'opacity-100'; * @prop export let inactiveClass: string = 'opacity-60'; */ export default class Thumbnail extends SvelteComponentTyped<ThumbnailProps, ThumbnailEvents, ThumbnailSlots> { } export {};