@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
38 lines (37 loc) • 1.73 kB
TypeScript
import React, { ReactNode, SyntheticEvent } from 'react';
/** VwcPagination
* For more info on this Vivid element please visit https://vivid.deno.dev/components/pagination
* @param {PaginationSize | undefined} size - The size the pagination should have. **attribute** `size`
* @param {PaginationShape | undefined} shape - The shape the pagination should have. **attribute** `shape`
* @param {Button[] | undefined} paginationButtons
* @param {Button | undefined} prevButton
* @param {Button | undefined} nextButton
* @param {boolean} navIcons **attribute** `nav-icons`
* @param {number} total **attribute** `total`
* @param {number | undefined} selectedIndex **attribute** `selected-index`
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
* @param {string} componentName - Core component name, without prefix
*/
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;
onPaginationChange?: ((event: SyntheticEvent) => void) | undefined;
size?: any;
shape?: any;
paginationButtons?: any;
prevButton?: any;
nextButton?: any;
navIcons?: boolean | undefined;
total?: number | undefined;
selectedIndex?: any;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
}): JSX.Element;
displayName: string;
};
export default VwcPagination;