UNPKG

@vlsergey/react-bootstrap-pagetable

Version:

Complex solution to work with pageable data, including sorting, filtering, actions, changing displayed columns, etc.

6 lines 460 B
import React from 'react'; import ControlledPropsType from '../controlled/ControlledPropsType'; declare type RequiredChildComponentProps<T> = Pick<ControlledPropsType<T>, 'columnHeaderRow' | 'itemModel'>; declare const withFilterable: <T, P extends RequiredChildComponentProps<T>>(Child: React.ComponentType<P>) => ({ columnHeaderRow, itemModel, ...etcProps }: P) => JSX.Element; export default withFilterable; //# sourceMappingURL=withFilterable.d.ts.map