export class RowTogglerButton extends React.Component { static defaultProps: { rowData: null; onClick: null; expanded: boolean; }; static propTypes: { rowData: PropTypes.Requireable; onClick: PropTypes.Requireable<(...args: any[]) => any>; expanded: PropTypes.Requireable; }; constructor(props: any); onClick(event: any): void; } import React from "react"; import PropTypes from "prop-types";