Debian Codegraph @

node/@patternfly/react-table/dist/js/components/Table/HeaderCellInfoWrapper.d.ts

raw
1 /// <reference types="react" />
2 import { TooltipProps } from '@patternfly/react-core/dist/esm/components/Tooltip';
3 import { PopoverProps } from '@patternfly/react-core/dist/esm/components/Popover';
4 export interface ColumnHelpWrapperProps {
5 /**
6 * The header cell that is wrapped
7 */
8 children: React.ReactNode;
9 /**
10 * The information that is presented in the tooltip/popover
11 */
12 info: React.ReactNode;
13 /**
14 * Optional classname to add to the tooltip/popover
15 */
16 className?: string;
17 /**
18 * The info variant
19 */
20 variant?: 'tooltip' | 'popover';
21 /**
22 * Additional props forwarded to the Popover component
23 */
24 popoverProps?: Omit<PopoverProps, 'bodyContent'>;
25 /**
26 * Additional props forwarded to the tooltip component
27 */
28 tooltipProps?: Omit<TooltipProps, 'content'>;
29 /**
30 * Aria label of the info button
31 */
32 ariaLabel?: string;
33 }
34 export declare const HeaderCellInfoWrapper: React.FunctionComponent<ColumnHelpWrapperProps>;
35 //# sourceMappingURL=HeaderCellInfoWrapper.d.ts.map