svelte-algolia-instantsearch
Version:
Svelte wrapper for Algolia InstantSearch
33 lines (32 loc) • 999 B
TypeScript
import { SvelteComponentTyped } from "svelte";
export type ShowMoreButtonTextOptions = {
/**
* Whether the widget is showing more items or not.
*/
isShowingMore: boolean;
};
export type ShowMoreButtonTranslations = {
/**
* Alternative text for the "Show more" button.
*/
showMoreButtonText(options: ShowMoreButtonTextOptions): string;
};
declare const __propDef: {
props: {
class: string;
disabled: boolean;
translations: ShowMoreButtonTranslations;
isShowingMore: boolean;
onClick: (event: MouseEvent) => void;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type ShowMoreButtonProps = typeof __propDef.props;
export type ShowMoreButtonEvents = typeof __propDef.events;
export type ShowMoreButtonSlots = typeof __propDef.slots;
export default class ShowMoreButton extends SvelteComponentTyped<ShowMoreButtonProps, ShowMoreButtonEvents, ShowMoreButtonSlots> {
}
export {};