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