UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

21 lines (20 loc) 583 B
import { ComponentProps } from 'react'; export interface RangeCounterProps extends Omit<ComponentProps<"p">, "start"> { /** * Count of all items. */ all: number; /** * Number of the last item in the current range. */ end: number; /** * Number of the first item in the current range. */ start: number; } /** * Shows a range of displayed items. * Useful for showing pagination or filter results. */ export declare const RangeCounter: ({ all, end, start, className, ...props }: RangeCounterProps) => import("react").JSX.Element;