UNPKG

@vlsergey/react-bootstrap-pagetable

Version:

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

14 lines 569 B
/// <reference types="react" /> import { ButtonProps } from 'react-bootstrap/Button'; import Action from './Action'; export interface PropsType<T> { action: Action<T>; disabled: boolean; onAction: (action: Action<T>, ...etc: unknown[]) => unknown; selectedItems: T[]; size: ButtonProps['size']; } declare function ActionButton<T>({ action, disabled, onAction, selectedItems, size, ...etcProps }: PropsType<T>): JSX.Element; declare const _default: typeof ActionButton; export default _default; //# sourceMappingURL=ActionButton.d.ts.map