Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Toolbar/ToolbarExpandableContent.d.ts

raw
1 import { Component, RefObject } from 'react';
2 import { ToolbarContext } from './ToolbarUtils';
3 import { PickOptional } from '../../helpers/typeUtils';
4 export interface ToolbarExpandableContentProps extends React.HTMLProps<HTMLDivElement> {
5 /** Classes added to the root element of the data toolbar expandable content */
6 className?: string;
7 /** Flag indicating the expandable content is expanded */
8 isExpanded?: boolean;
9 /** Expandable content reference for passing to data toolbar children */
10 expandableContentRef?: RefObject<HTMLDivElement | null>;
11 /** Label container reference for passing to data toolbar children */
12 labelContainerRef?: RefObject<any>;
13 /** optional callback for clearing all filters in the toolbar */
14 clearAllFilters?: () => void;
15 /** Text to display in the clear all filters button */
16 clearFiltersButtonText?: string;
17 /** Flag indicating that the clear all filters button should be visible */
18 showClearFiltersButton: boolean;
19 }
20 declare class ToolbarExpandableContent extends Component<ToolbarExpandableContentProps> {
21 static displayName: string;
22 static contextType: import("react").Context<import("./ToolbarUtils").ToolbarContextProps>;
23 context: React.ContextType<typeof ToolbarContext>;
24 static defaultProps: PickOptional<ToolbarExpandableContentProps>;
25 render(): import("react/jsx-runtime").JSX.Element;
26 }
27 export { ToolbarExpandableContent };
28 //# sourceMappingURL=ToolbarExpandableContent.d.ts.map