svelte-datatables-net
Version:
svelte-datatables-net is a svelte/sveltekit component that turns data into an interactive HTML table. Inspired by datatables.net.
24 lines (23 loc) • 700 B
TypeScript
import type { Component } from 'svelte';
export type typePaginationProps = {
threshold?: number;
onchange?: (par: number) => void;
style?: string;
styleActive?: string;
styleDisabled?: string;
styleWrapper?: string;
class?: string;
classActive?: string;
classDisabled?: string;
classWrapper?: string;
IconBackward?: Component;
IconForward?: Component;
iconSize?: number;
};
type $$ComponentProps = {
total: number;
current?: number;
} & typePaginationProps;
declare const PaginationComponent: Component<$$ComponentProps, {}, "current">;
type PaginationComponent = ReturnType<typeof PaginationComponent>;
export default PaginationComponent;