@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
18 lines (17 loc) • 615 B
TypeScript
import React, { ReactNode, SyntheticEvent } from 'react';
import '@vonage/vwc-pagination';
/**
* @param {number} total
* @param {number} selectedIndex
*/
declare const VwcPagination: (props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
onChange?: ((event: SyntheticEvent) => void) | undefined;
total?: number | undefined;
selectedIndex?: number | undefined;
}) => JSX.Element;
export default VwcPagination;