UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

15 lines (14 loc) 512 B
type TouchWithId = { id?: number; }; export type ChartPressBootstrapEntry<TState, TTouch extends TouchWithId> = { pressIndex: number; state: TState; touch: TTouch; }; export declare const pruneChartPressBootstrap: <TState, TTouch extends TouchWithId>({ bootstrap, changedTouches, numberOfTouches, }: { bootstrap: ChartPressBootstrapEntry<TState, TTouch>[]; changedTouches: readonly TouchWithId[]; numberOfTouches?: number; }) => ChartPressBootstrapEntry<TState, TTouch>[]; export {};