@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 775 B
TypeScript
import * as React from 'react';
import { PanelProps } from '../../../components/Panel';
import { AdaptableSystemIconName } from '../../../AdaptableState/Common/AdaptableIcon';
export interface PanelWithButtonProps extends Omit<PanelProps, 'flex' | 'borderRadius' | 'border'> {
buttonContent?: React.ReactNode;
buttonClick?: () => void;
button?: React.ReactElement<any>;
headerText: string;
bodyProps?: PanelProps['bodyProps'];
headerProps?: PanelProps['headerProps'] & {
'data-name': string;
};
glyphicon?: AdaptableSystemIconName;
buttonDisabled?: boolean;
buttonStyle?: string;
infoLink?: string;
infoLinkDisabled?: boolean;
}
export declare const PanelWithButton: (props: PanelWithButtonProps) => React.JSX.Element;