@arche-mc2/arche-controls
Version:
We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get
26 lines (25 loc) • 870 B
TypeScript
import * as React from 'react';
import { WithThemeProps } from '../../../Common/theming/withTheme';
import { IntentType } from "../../../Common/theming/types";
import { ActionType } from '../../Inputs/Button/types';
interface ActionDataGrid {
label: string;
actionType?: ActionType;
onClick?: (rows: []) => Promise<any>;
}
interface ActionsDataGrid {
groupLabel: string;
validationLabel: string;
intent?: IntentType;
actions?: ActionDataGrid[];
confirmationMessage?: string;
}
export interface UpDataGridFooterProps {
pagination?: React.ReactElement;
actionsDataGrid?: ActionsDataGrid;
isPaginationEnabled?: boolean;
data?: Array<any>;
isDataFetching?: boolean;
}
declare const UpDataGridFooter: (props: UpDataGridFooterProps & WithThemeProps) => JSX.Element;
export default UpDataGridFooter;