Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 import { TooltipProps } from '@patternfly/react-core/dist/esm/components/Tooltip';
3 export declare enum RowSelectVariant {
4 radio = "radio",
5 checkbox = "checkbox"
6 }
7 export interface SelectColumnProps {
8 children?: React.ReactNode;
9 className?: string;
10 onSelect?: (event: React.FormEvent<HTMLInputElement>) => void;
11 selectVariant?: RowSelectVariant;
12 /** text to display on the tooltip */
13 tooltip?: React.ReactNode;
14 /** other props to pass to the tooltip */
15 tooltipProps?: Omit<TooltipProps, 'content'>;
16 /** id for the input element - required by Checkbox and Radio components */
17 id?: string;
18 /** name for the input element - required by Radio component */
19 name?: string;
20 /** Whether the checkbox should be in an indeterminate state */
21 isIndeterminate?: boolean;
22 }
23 export declare const SelectColumn: React.FunctionComponent<SelectColumnProps>;
24 //# sourceMappingURL=SelectColumn.d.ts.map