@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
40 lines (39 loc) • 1.61 kB
TypeScript
import * as React from 'react';
import * as Redux from 'redux';
import { AccessLevel } from '../../../AdaptableState/Common/Entitlement';
import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
import { SuspendableObject } from '../../../AdaptableState/Common/SuspendableObject';
export interface EntityListActionButtonsProps extends React.ClassAttributes<EntityListActionButtons> {
editClick?: () => void;
cloneClick?: () => void;
shareClick?: (config: AdaptableSharedEntityConfig) => void;
showEdit?: boolean;
showClone?: boolean;
showDelete?: boolean;
showShare?: boolean;
showSuspend?: boolean;
onSuspend?: (adaptableObject: AdaptableObject) => void;
onUnSuspend?: (adaptableObject: AdaptableObject) => void;
overrideDisableEdit?: boolean;
overrideDisableDelete?: boolean;
overrideDisableClone?: boolean;
overrideDisableShare?: boolean;
overrideTooltipEdit?: string;
overrideTooltipClone?: string;
overrideTooltipDelete?: string;
overrideTooltipShare?: string;
confirmDeleteAction: Redux.Action;
entityType: string;
justifyContent?: string;
accessLevel: AccessLevel;
cloneAccessLevel?: AccessLevel;
editSize: any;
deleteSize: any;
shareSize: any;
suspendableObject: SuspendableObject;
}
export declare class EntityListActionButtons extends React.Component<EntityListActionButtonsProps, {}> {
static defaultProps: EntityListActionButtonsProps;
render(): React.JSX.Element;
}