| 1 |
import { Component } from 'react'; |
| 2 |
import { OUIAProps } from '@patternfly/react-core/dist/esm/helpers/OUIA/ouia'; |
| 3 |
import { IRow } from './TableTypes'; |
| 4 |
export interface RowWrapperRow { |
| 5 |
isOpen?: boolean; |
| 6 |
isExpanded?: boolean; |
| 7 |
isEditable?: boolean; |
| 8 |
} |
| 9 |
export interface RowWrapperProps extends OUIAProps { |
| 10 |
children?: React.ReactNode; |
| 11 |
trRef?: React.Ref<any> | Function; |
| 12 |
className?: string; |
| 13 |
onScroll?: React.UIEventHandler; |
| 14 |
onResize?: React.UIEventHandler; |
| 15 |
row?: IRow; |
| 16 |
rowProps?: { |
| 17 |
rowIndex: number; |
| 18 |
rowKey: string; |
| 19 |
}; |
| 20 |
/** Value to set the data-ouia-component-id.*/ |
| 21 |
ouiaId?: number | string; |
| 22 |
} |
| 23 |
declare class RowWrapper extends Component<RowWrapperProps> { |
| 24 |
static displayName: string; |
| 25 |
static defaultProps: { |
| 26 |
className: string; |
| 27 |
row: IRow; |
| 28 |
rowProps: any; |
| 29 |
}; |
| 30 |
_unmounted: boolean; |
| 31 |
constructor(props: RowWrapperProps); |
| 32 |
componentDidMount(): void; |
| 33 |
componentWillUnmount(): void; |
| 34 |
handleScroll: (event: Event) => void; |
| 35 |
handleResize: (event: Event) => void; |
| 36 |
render(): import("react/jsx-runtime").JSX.Element; |
| 37 |
} |
| 38 |
export { RowWrapper }; |
| 39 |
//# sourceMappingURL=RowWrapper.d.ts.map |